Increase RCCN version to 1.0.1, add automatic restart of RAPI and FreeSWITCH

This commit is contained in:
Ciaby 2015-07-16 13:09:18 +02:00
parent 56a1a54a3a
commit efb25ed054

View file

@ -153,10 +153,11 @@ class rhizo_base {
ensure => present,
provider => git,
source => 'https://github.com/Rhizomatica/rccn.git',
revision => '1.0.0',
revision => '1.0.1',
require => [ File['/var/rhizomatica'], Package['git'] ],
notify => Exec['locale-gen'],
# [ Exec['install_rccn'],
notify => [ Exec['locale-gen'],
Exec['restart-freeswitch'],
Exec['restart-rapi'] ],
}
file { '/var/rhizomatica/rccn/config_values.py':
@ -186,6 +187,16 @@ class rhizo_base {
refreshonly => true,
}
exec { 'restart-freeswitch':
command => '/usr/bin/sv restart freeswitch',
refreshonly => true,
}
exec { 'restart-rapi':
command => '/usr/bin/sv restart rapi',
refreshonly => true,
}
file { '/var/lib/locales/supported.d/local':
ensure => present,
source => 'puppet:///modules/rhizo_base/var/lib/locales/supported.d/local',