use bacula smart restart in two more places
authorPeter Palfrader <peter@palfrader.org>
Sun, 23 Jun 2013 18:04:15 +0000 (20:04 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 23 Jun 2013 18:04:15 +0000 (20:04 +0200)
modules/bacula/manifests/client.pp
modules/bacula/manifests/storage.pp

index 227f1b1..ed833d7 100644 (file)
@@ -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',
index 0961430..310d60c 100644 (file)
@@ -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':