AMR, Add per OS modules defs.

This commit is contained in:
Wile E. Coyote 2018-11-16 18:35:43 +00:00
parent 8d94ac44ab
commit 75ffc0cdf3

View file

@ -16,6 +16,8 @@ class rhizo_base::freeswitch {
class rhizo_base::freeswitch::ubuntu inherits rhizo_base::freeswitch::common { class rhizo_base::freeswitch::ubuntu inherits rhizo_base::freeswitch::common {
$amr_module = "mod_opencore_amr"
file { '/usr/lib/freeswitch/mod/mod_g729.so': file { '/usr/lib/freeswitch/mod/mod_g729.so':
source => 'puppet:///modules/rhizo_base/mod_g729.so', source => 'puppet:///modules/rhizo_base/mod_g729.so',
require => Package['freeswitch'], require => Package['freeswitch'],
@ -43,6 +45,8 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
include systemd include systemd
$amr_module = "mod_amr"
package { package {
[ 'freeswitch-mod-g729' ]: [ 'freeswitch-mod-g729' ]:
ensure => purged, ensure => purged,