mirror of https://github.com/zulip/zulip.git
puppet: Add CentOS version of supervisord.conf path.
This commit is contained in:
parent
9ee2ee046a
commit
6b0bf828f7
|
@ -3,6 +3,12 @@ class zulip::supervisor {
|
|||
'supervisor',
|
||||
]
|
||||
package { $supervisor_packages: ensure => 'installed' }
|
||||
|
||||
$supervisord_conf = $::osfamily ? {
|
||||
'debian' => '/etc/supervisor/supervisord.conf',
|
||||
'redhat' => '/etc/supervisord.conf',
|
||||
}
|
||||
|
||||
# In the dockervoyager environment, we don't want/need supervisor to be started/stopped
|
||||
# /bin/true is used as a decoy command, to maintain compatibility with other
|
||||
# code using the supervisor service.
|
||||
|
@ -50,7 +56,7 @@ class zulip::supervisor {
|
|||
}
|
||||
}
|
||||
|
||||
file { '/etc/supervisor/supervisord.conf':
|
||||
file { $supervisord_conf:
|
||||
ensure => file,
|
||||
require => Package[supervisor],
|
||||
owner => 'root',
|
||||
|
|
Loading…
Reference in New Issue