1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# File 'manifests/params.pp', line 1
class supervisor::params {
case $::osfamily {
'debian': {
$conf_file = '/etc/supervisor/supervisord.conf'
$conf_dir = '/etc/supervisor'
$conf_ext = '.ini'
$system_service = 'supervisor'
$package = 'supervisor'
}
'redhat': {
$conf_file = '/etc/supervisord.conf'
$conf_dir = '/etc/supervisord.d'
$conf_ext = '.ini'
$system_service = 'supervisord'
$package = 'supervisor'
}
default: {
fail("Unsupported platform: ${::osfamily}")
}
}
}
|