FreeSwitch: Convert modules.conf.xml to a template

This commit is contained in:
Wile E. Coyote 2018-11-16 18:33:00 +00:00
parent d86140ffab
commit 8d94ac44ab
2 changed files with 10 additions and 1 deletions

View file

@ -33,6 +33,10 @@ class rhizo_base::freeswitch::ubuntu inherits rhizo_base::freeswitch::common {
require => Package['freeswitch']
}
file { '/etc/freeswitch/autoload_configs/modules.conf.xml':
content => template('rhizo_base/modules.conf.xml.erb'),
require => Package['freeswitch'],
}
}
class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
@ -50,6 +54,11 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
require => Package['freeswitch'],
}
file { '/etc/freeswitch/autoload_configs/modules.conf.xml':
content => template('rhizo_base/modules.conf.xml.erb'),
require => Package['freeswitch'],
}
file { '/etc/default/freeswitch':
source => 'puppet:///modules/rhizo_base/etc/default/freeswitch',
require => Package['freeswitch'],

View file

@ -86,7 +86,7 @@
<!--<load module="mod_g723_1"/>-->
<!--<load module="mod_bcg729"/>-->
<load module="mod_g729"/>
<load module="mod_amr"/>
<load module="<%= @amr_module %>"/>
<!--<load module="mod_ilbc"/>-->
<!--<load module="mod_speex"/>
<load module="mod_h26x"/>