Puppet Class: opscenter::params
- Inherited by:
-
opscenter
- Defined in:
- manifests/params.pp
Overview
Class opscenter::params
This class is meant to be called from opscenter It sets variables according to platform
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/params.pp', line 6
class opscenter::params {
case $::osfamily {
'Debian': {
$service_systemd = false
$systemctl = '/bin/systemctl'
$systemd_path = '/lib/systemd/system'
}
'RedHat': {
$systemctl = '/usr/bin/systemctl'
$systemd_path = '/usr/lib/systemd/system'
if $::operatingsystemmajrelease == 7 {
$service_systemd = true
} else {
$service_systemd = false
}
}
default: {
$config_path_parents = []
}
}
}
|