diff options
| author | alex <alex@pdp7.net> | 2023-10-14 18:06:14 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-10-14 18:06:31 +0200 |
| commit | 58e4e843e5715d652e796d8360b08e515547e750 (patch) | |
| tree | 20a2ab7c89a03ece3f954a9eb4733677c8579ad8 | |
| parent | 84101941275103fc43b820c9948503050f39f087 (diff) | |
Fix indentation, pin sofia-sip
| -rw-r--r-- | personal_infra/puppet/modules/freeswitch/manifests/init.pp | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/personal_infra/puppet/modules/freeswitch/manifests/init.pp b/personal_infra/puppet/modules/freeswitch/manifests/init.pp index 4ebdf3a2..3fc9516c 100644 --- a/personal_infra/puppet/modules/freeswitch/manifests/init.pp +++ b/personal_infra/puppet/modules/freeswitch/manifests/init.pp @@ -1,24 +1,28 @@ class freeswitch($freeswitch_password, $freeswitch_address, $freeswitch_rtp_start_port, $freeswitch_rtp_end_port) { - package {'okay-release': - source => 'http://repo.okay.com.mx/centos/9/x86_64/release/okay-release-1-9.el9.noarch.rpm', - } - -> - package {['freeswitch-config-vanilla', 'freeswitch-systemd', 'freeswitch-sounds-en-us-callie-all']:} - -> - service {'freeswitch': - enable => true, - ensure => running, - } + package {'okay-release': + source => 'http://repo.okay.com.mx/centos/8/x86_64/release/okay-release-1-9.el8.noarch.rpm', + } + -> + package {'sofia-sip': + source => 'http://repo.okay.com.mx/centos/8/x86_64/release/sofia-sip-1.13.12-1.el8.x86_64.rpm', + } + -> + package {['freeswitch-config-vanilla', 'freeswitch-systemd', 'freeswitch-sounds-en-us-callie-all']:} + -> + service {'freeswitch': + enable => true, + ensure => running, + } - file {'/etc/freeswitch/vars.xml': - content => template('freeswitch/vars.xml'), - require => Package['freeswitch-config-vanilla'], - notify => Service['freeswitch'], - } + file {'/etc/freeswitch/vars.xml': + content => template('freeswitch/vars.xml'), + require => Package['freeswitch-config-vanilla'], + notify => Service['freeswitch'], + } - file {'/etc/freeswitch/autoload_configs/switch.conf.xml': - content => template('freeswitch/switch.conf.xml'), - require => Package['freeswitch-config-vanilla'], - notify => Service['freeswitch'], - } + file {'/etc/freeswitch/autoload_configs/switch.conf.xml': + content => template('freeswitch/switch.conf.xml'), + require => Package['freeswitch-config-vanilla'], + notify => Service['freeswitch'], + } } |
