diff --git a/modules/rhizo_base/manifests/init.pp b/modules/rhizo_base/manifests/init.pp index 95abc9e..6340611 100644 --- a/modules/rhizo_base/manifests/init.pp +++ b/modules/rhizo_base/manifests/init.pp @@ -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',