Increase RCCN version to 1.0.1, add automatic restart of RAPI and FreeSWITCH
This commit is contained in:
parent
56a1a54a3a
commit
efb25ed054
1 changed files with 14 additions and 3 deletions
|
@ -153,10 +153,11 @@ class rhizo_base {
|
||||||
ensure => present,
|
ensure => present,
|
||||||
provider => git,
|
provider => git,
|
||||||
source => 'https://github.com/Rhizomatica/rccn.git',
|
source => 'https://github.com/Rhizomatica/rccn.git',
|
||||||
revision => '1.0.0',
|
revision => '1.0.1',
|
||||||
require => [ File['/var/rhizomatica'], Package['git'] ],
|
require => [ File['/var/rhizomatica'], Package['git'] ],
|
||||||
notify => Exec['locale-gen'],
|
notify => [ Exec['locale-gen'],
|
||||||
# [ Exec['install_rccn'],
|
Exec['restart-freeswitch'],
|
||||||
|
Exec['restart-rapi'] ],
|
||||||
}
|
}
|
||||||
|
|
||||||
file { '/var/rhizomatica/rccn/config_values.py':
|
file { '/var/rhizomatica/rccn/config_values.py':
|
||||||
|
@ -186,6 +187,16 @@ class rhizo_base {
|
||||||
refreshonly => true,
|
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':
|
file { '/var/lib/locales/supported.d/local':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
source => 'puppet:///modules/rhizo_base/var/lib/locales/supported.d/local',
|
source => 'puppet:///modules/rhizo_base/var/lib/locales/supported.d/local',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue