Puppet Class: mongodb::params

Defined in:
manifests/params.pp

Overview



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/params.pp', line 1

class mongodb::params {
  case $::operatingsystem {
      /(Redhat|CentOS|Fedora)/: {
        $supported  = true
        $svc_name   = 'mongod'
        $config     = '/etc/mongod.conf'
        $config_tpl = 'mongod.conf.redhat.erb'
        $os         = 'redhat'
    }
      default: {
        $supported = false
        notify { "${module_name}_unsupported":
          message => "The ${module_name} module is not support on ${::operatingsystem}",
          }
      }
    }
}