diff --git a/modules/rhizo_base/manifests/init.pp b/modules/rhizo_base/manifests/init.pp index 8636939..c783467 100644 --- a/modules/rhizo_base/manifests/init.pp +++ b/modules/rhizo_base/manifests/init.pp @@ -398,26 +398,31 @@ schedule { 'repo': exec { 'restart-freeswitch': command => '/usr/bin/sv restart freeswitch', + require => Class['rhizo_base::runit'], refreshonly => true, } exec { 'restart-rapi': command => '/usr/bin/sv restart rapi', + require => Class['rhizo_base::runit'], refreshonly => true, } exec { 'restart-smpp': command => '/usr/bin/sv restart smpp', + require => Class['rhizo_base::runit'], refreshonly => true, } exec { 'restart-meas': command => '/usr/bin/sv restart meas-web', + require => Class['rhizo_base::runit'], refreshonly => true, } exec { 'restart-esme': command => '/usr/bin/sv restart esme', + require => Class['rhizo_base::runit'], refreshonly => true, } diff --git a/modules/rhizo_base/manifests/lcr.pp b/modules/rhizo_base/manifests/lcr.pp index 1a5dd5c..05cda35 100644 --- a/modules/rhizo_base/manifests/lcr.pp +++ b/modules/rhizo_base/manifests/lcr.pp @@ -19,6 +19,7 @@ class rhizo_base::lcr { exec { 'restart-lcr': command => '/usr/bin/sv restart lcr', + require => Class['rhizo_base::runit'], refreshonly => true, }