Puppet Class: icingaweb2::params
- Defined in:
- manifests/params.pp
Overview
Class: icingaweb2::params
In this class all default parameters are stored. It is inherited by other classes in order to get access to those parameters.
Parameters
This class does not provide any parameters.
Examples
This class is private and should not be called by others than this module.
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'manifests/params.pp', line 14
class icingaweb2::params {
$package = 'icingaweb2'
$conf_dir = '/etc/icingaweb2'
$module_path = '/usr/share/icingaweb2/modules'
case $::facts['os']['family'] {
'redhat': {
$conf_user = 'apache'
$conf_group = 'icingaweb2'
$schema_dir = '/usr/share/doc/icingaweb2/schema'
$gettext_package_name = 'gettext'
} # RedHat
'debian': {
$conf_user = 'www-data'
$conf_group = 'icingaweb2'
$schema_dir = '/usr/share/icingaweb2/etc/schema'
$gettext_package_name = 'gettext'
} # Debian
'suse': {
$conf_user = 'wwwrun'
$conf_group = 'icingaweb2'
$schema_dir = '/usr/share/doc/icingaweb2/schema'
$gettext_package_name = 'gettext-tools'
} # Suse
default: {
fail("Your plattform ${::facts['os']['family']} is not supported, yet.")
}
} # case $::osfamily
}
|