FreeSwitch: Convert modules.conf.xml to a template
This commit is contained in:
parent
d86140ffab
commit
8d94ac44ab
2 changed files with 10 additions and 1 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue