]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 227f1b13520d1bde0329880915b83fcf8a6e3996..ed833d7592ffc16fe6a215085b4cc955521669a0 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 09614309f1422f13410d58091c7776be2f093279..310d60c4b6eae9f702a4f28fb6f8386869b63c19 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':