]> xn--ix-yja.es Git - alex.git/commitdiff
Fix indentation, pin sofia-sip
authoralex <alex@pdp7.net>
Sat, 14 Oct 2023 16:06:14 +0000 (18:06 +0200)
committeralex <alex@pdp7.net>
Sat, 14 Oct 2023 16:06:31 +0000 (18:06 +0200)
personal_infra/puppet/modules/freeswitch/manifests/init.pp

index 4ebdf3a23e1fa0159dba1efb0deefc11b4b2083b..3fc9516c1d826217eac99e6111a31b6e2208c901 100644 (file)
@@ -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'],
+  }
 }