Install arch optimised codec
This commit is contained in:
parent
a4b658898b
commit
122acc3d7e
4 changed files with 22 additions and 5 deletions
BIN
modules/rhizo_base/files/mod_g729.so.atom
Executable file
BIN
modules/rhizo_base/files/mod_g729.so.atom
Executable file
Binary file not shown.
BIN
modules/rhizo_base/files/mod_g729.so.i3
Executable file
BIN
modules/rhizo_base/files/mod_g729.so.i3
Executable file
Binary file not shown.
BIN
modules/rhizo_base/files/mod_g729.so.skylake
Executable file
BIN
modules/rhizo_base/files/mod_g729.so.skylake
Executable file
Binary file not shown.
|
@ -17,7 +17,7 @@ class rhizo_base::freeswitch {
|
||||||
class rhizo_base::freeswitch::ubuntu inherits rhizo_base::freeswitch::common {
|
class rhizo_base::freeswitch::ubuntu inherits rhizo_base::freeswitch::common {
|
||||||
|
|
||||||
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.atom',
|
||||||
require => Package['freeswitch'],
|
require => Package['freeswitch'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,10 +39,27 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
|
||||||
|
|
||||||
include systemd
|
include systemd
|
||||||
|
|
||||||
|
if $facts['processor0'] =~ /i3-5020U/ {
|
||||||
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.i3',
|
||||||
require => Package['freeswitch'],
|
require => Package['freeswitch'],
|
||||||
}
|
}
|
||||||
|
} elsif $facts['processor0'] =~ /i3-40/ {
|
||||||
|
file { '/usr/lib/freeswitch/mod/mod_g729.so':
|
||||||
|
source => 'puppet:///modules/rhizo_base/mod_g729.so.i3',
|
||||||
|
require => Package['freeswitch'],
|
||||||
|
}
|
||||||
|
} elsif $facts['processor0'] =~ /J3455/ {
|
||||||
|
file { '/usr/lib/freeswitch/mod/mod_g729.so':
|
||||||
|
source => 'puppet:///modules/rhizo_base/mod_g729.so.atom',
|
||||||
|
require => Package['freeswitch'],
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
file { '/usr/lib/freeswitch/mod/mod_g729.so':
|
||||||
|
source => 'puppet:///modules/rhizo_base/mod_g729.so.atom',
|
||||||
|
require => Package['freeswitch'],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
file { '/usr/lib/freeswitch/mod/mod_amr.so':
|
file { '/usr/lib/freeswitch/mod/mod_amr.so':
|
||||||
source => 'puppet:///modules/rhizo_base/mod_amr.so',
|
source => 'puppet:///modules/rhizo_base/mod_amr.so',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue