FS: Remove some modules that are not used.

This commit is contained in:
Keith Whyte 2021-01-27 20:28:06 +01:00
parent 6a009d6e9a
commit 87f3b87cb6
2 changed files with 20 additions and 9 deletions

View file

@ -82,7 +82,7 @@
<!--<load module="mod_dialplan_asterisk"/>--> <!--<load module="mod_dialplan_asterisk"/>-->
<!-- Codec Interfaces --> <!-- Codec Interfaces -->
<load module="mod_spandsp"/> <!-- load module="mod_spandsp"/>-->
<!--<load module="mod_g723_1"/>--> <!--<load module="mod_g723_1"/>-->
<!--<load module="mod_bcg729"/>--> <!--<load module="mod_bcg729"/>-->
<load module="mod_g729"/> <load module="mod_g729"/>

View file

@ -119,25 +119,36 @@ class rhizo_base::freeswitch::common {
$mncc_ip_address = $rhizo_base::mncc_ip_address $mncc_ip_address = $rhizo_base::mncc_ip_address
$fs_ensure = hiera('rhizo::fs_ensure', 'present') $fs_ensure = hiera('rhizo::fs_ensure', 'present')
package {
[
'freeswitch-mod-b64',
'freeswitch-mod-bv',
'freeswitch-mod-conference',
'freeswitch-mod-enum',
'freeswitch-mod-fsv',
'freeswitch-mod-h26x',
'freeswitch-mod-spandsp',
'freeswitch-mod-syslog' ]:
ensure => purged,
require => Class['rhizo_base::apt'],
}
package { package {
['freeswitch-mod-amr', 'freeswitch-mod-amrwb', ['freeswitch-mod-amr', 'freeswitch-mod-amrwb',
'freeswitch-mod-b64', 'freeswitch-mod-bv', 'freeswitch-mod-commands',
'freeswitch-mod-commands', 'freeswitch-mod-conference',
'freeswitch-mod-console', 'freeswitch-mod-db', 'freeswitch-mod-console', 'freeswitch-mod-db',
'freeswitch-mod-dialplan-xml', 'freeswitch-mod-dialplan-xml', 'freeswitch-mod-dptools',
'freeswitch-mod-dptools', 'freeswitch-mod-enum',
'freeswitch-mod-esf', 'freeswitch-mod-event-socket', 'freeswitch-mod-esf', 'freeswitch-mod-event-socket',
'freeswitch-mod-expr', 'freeswitch-mod-fifo', 'freeswitch-mod-expr', 'freeswitch-mod-fifo',
'freeswitch-mod-fsv', 'freeswitch-mod-g723-1', 'freeswitch-mod-g723-1', 'freeswitch-mod-hash',
'freeswitch-mod-h26x', 'freeswitch-mod-hash',
'freeswitch-mod-httapi', 'freeswitch-mod-local-stream', 'freeswitch-mod-httapi', 'freeswitch-mod-local-stream',
'freeswitch-mod-logfile', 'freeswitch-mod-loopback', 'freeswitch-mod-logfile', 'freeswitch-mod-loopback',
'freeswitch-mod-lua', 'freeswitch-mod-native-file', 'freeswitch-mod-lua', 'freeswitch-mod-native-file',
'freeswitch-mod-python', 'freeswitch-mod-say-en', 'freeswitch-mod-python', 'freeswitch-mod-say-en',
'freeswitch-mod-say-es', 'freeswitch-mod-sms', 'freeswitch-mod-say-es', 'freeswitch-mod-sms',
'freeswitch-mod-sndfile', 'freeswitch-mod-sofia', 'freeswitch-mod-sndfile', 'freeswitch-mod-sofia',
'freeswitch-mod-spandsp', 'freeswitch-mod-shout', 'freeswitch-mod-shout', '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',
'libfreeswitch1', 'libfreeswitch1',