From: Peter Palfrader Date: Sun, 23 Jun 2013 18:04:15 +0000 (+0200) Subject: use bacula smart restart in two more places X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;ds=sidebyside;h=ecf49986ffb2a593ab8d28b7c2e511fc84ef3cef;hp=25731380d3d347795315c8748ef291aa27eea2b6;p=mirror%2Fdsa-puppet.git use bacula smart restart in two more places --- diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 227f1b135..ed833d759 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -30,7 +30,7 @@ class bacula::client inherits bacula { owner => root, group => bacula, require => Package['bacula-fd'], - notify => Service['bacula-fd'], + notify => Exec['bacula-fd restart-when-idle'], } file { '/usr/local/sbin/bacula-backup-dirs': mode => '0775', diff --git a/modules/bacula/manifests/storage.pp b/modules/bacula/manifests/storage.pp index 09614309f..310d60c4b 100644 --- a/modules/bacula/manifests/storage.pp +++ b/modules/bacula/manifests/storage.pp @@ -23,7 +23,7 @@ class bacula::storage inherits bacula { content => template('bacula/bacula-sd.conf.erb'), mode => '0640', group => bacula, - notify => Service['bacula-sd'] + notify => Exec['bacula-sd restart-when-idle'] } file { '/etc/bacula/storage-conf.d':