diff --git a/modules/rhizo_base/manifests/init.pp b/modules/rhizo_base/manifests/init.pp index f258785..1a45c28 100644 --- a/modules/rhizo_base/manifests/init.pp +++ b/modules/rhizo_base/manifests/init.pp @@ -202,7 +202,7 @@ class rhizo_base { revision => 'master', require => [ File['/var/rhizomatica'], Package['git'] ], notify => [ Exec['locale-gen'], - Exec['restart-freeswitch'], + Exec['notify-freeswitch'], Exec['restart-rapi'] ], } @@ -244,6 +244,11 @@ class rhizo_base { refreshonly => true, } + exec { 'notify-freeswitch': + command => '/bin/echo 1 > /tmp/FS-dirty', + refreshonly => true, + } + exec { 'restart-freeswitch': command => '/usr/bin/sv restart freeswitch', refreshonly => true,