From ecf49986ffb2a593ab8d28b7c2e511fc84ef3cef Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 23 Jun 2013 20:04:15 +0200 Subject: [PATCH] use bacula smart restart in two more places --- modules/bacula/manifests/client.pp | 2 +- modules/bacula/manifests/storage.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 227f1b13..ed833d75 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 09614309..310d60c4 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': -- 2.39.2