FS: install version based on dist
This commit is contained in:
parent
f09c0db7ce
commit
006b062aaa
1 changed files with 10 additions and 1 deletions
|
@ -119,7 +119,7 @@ class rhizo_base::freeswitch::common {
|
||||||
$mncc_ip_address = $rhizo_base::mncc_ip_address
|
$mncc_ip_address = $rhizo_base::mncc_ip_address
|
||||||
|
|
||||||
package {
|
package {
|
||||||
['freeswitch', 'freeswitch-lang-en',
|
['freeswitch-lang-en',
|
||||||
'freeswitch-mod-amr', 'freeswitch-mod-amrwb',
|
'freeswitch-mod-amr', 'freeswitch-mod-amrwb',
|
||||||
'freeswitch-mod-b64', 'freeswitch-mod-bv',
|
'freeswitch-mod-b64', 'freeswitch-mod-bv',
|
||||||
'freeswitch-mod-commands', 'freeswitch-mod-conference',
|
'freeswitch-mod-commands', 'freeswitch-mod-conference',
|
||||||
|
@ -146,6 +146,15 @@ class rhizo_base::freeswitch::common {
|
||||||
require => Class['rhizo_base::apt'],
|
require => Class['rhizo_base::apt'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package {
|
||||||
|
['freeswitch' ]:
|
||||||
|
ensure => $lsbdistcodename ? {
|
||||||
|
"stretch" => '1.10.2~release~14~f7bdd3845a~stretch-1~stretch+1',
|
||||||
|
"buster" => '1.10.2~release~14~f7bdd3845a~buster-1~buster+1',
|
||||||
|
},
|
||||||
|
require => Class['rhizo_base::apt'],
|
||||||
|
}
|
||||||
|
|
||||||
file { '/tmp/libfreeswitch.so.1.0.0':
|
file { '/tmp/libfreeswitch.so.1.0.0':
|
||||||
source => 'puppet:///modules/rhizo_base/usr/lib/libfreeswitch.so.1.0.0-10.2',
|
source => 'puppet:///modules/rhizo_base/usr/lib/libfreeswitch.so.1.0.0-10.2',
|
||||||
require => Package['freeswitch'],
|
require => Package['freeswitch'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue