From: Peter Palfrader Date: Wed, 25 Sep 2019 06:59:48 +0000 (+0200) Subject: Try to collect directors before we restart fd X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1b88391a95b362d10c7fc0619b6215309931363b;p=mirror%2Fdsa-puppet.git Try to collect directors before we restart fd --- diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index 3505300c1..8890cb785 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -34,7 +34,9 @@ class bacula::client( } if $ensure == 'present' { - Bacula::Client::Director <<| tag == "bacula::to-fd::${director_server}" |>> + Bacula::Client::Director <<| tag == "bacula::to-fd::${director_server}" |>> { + before => Exec['bacula-fd restart-when-idle'], + } @@bacula::storage::client { $client: tag => "bacula::to-storage::${storage_server}",