rhizo_base/freeswitch: Install sysvinit package in ubuntu only

The freeswitch sysvinit package is not needed on a debian install, and
actually actively conflicts with debian's systemd based installation.
This commit is contained in:
Matt Johnson 2019-07-14 23:21:44 -05:00 committed by Keith Whyte
parent d2afd66bed
commit f1cc836270

View file

@ -23,7 +23,7 @@ class rhizo_base::freeswitch::ubuntu inherits rhizo_base::freeswitch::common {
package { package {
['freeswitch-mod-speex','freeswitch-mod-cdr-pg-csv', ['freeswitch-mod-speex','freeswitch-mod-cdr-pg-csv',
'freeswitch-mod-vp8']: 'freeswitch-mod-vp8', 'freeswitch-sysvinit']:
ensure => installed, ensure => installed,
require => Class['rhizo_base::apt'], require => Class['rhizo_base::apt'],
} }
@ -116,7 +116,7 @@ class rhizo_base::freeswitch::common {
'freeswitch-mod-syslog', 'freeswitch-mod-tone-stream', 'freeswitch-mod-syslog', 'freeswitch-mod-tone-stream',
'freeswitch-mod-voicemail', 'freeswitch-mod-voicemail-ivr', 'freeswitch-mod-voicemail', 'freeswitch-mod-voicemail-ivr',
'freeswitch-mod-xml-cdr', 'freeswitch-mod-cdr-pg-csv', 'freeswitch-mod-xml-cdr', 'freeswitch-mod-cdr-pg-csv',
'freeswitch-sysvinit', 'libfreeswitch1', 'libfreeswitch1',
'freeswitch-sounds-es-mx-maria' ]: 'freeswitch-sounds-es-mx-maria' ]:
ensure => installed, ensure => installed,
require => Class['rhizo_base::apt'], require => Class['rhizo_base::apt'],