From 070be4a9cecc561e4b7529cdb16f03af6db77486 Mon Sep 17 00:00:00 2001 From: Keith Date: Sat, 14 Jan 2017 16:07:43 +0100 Subject: [PATCH] Don't just hangup all calls whenever rccn gets an update --- modules/rhizo_base/manifests/init.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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,