From 1b88391a95b362d10c7fc0619b6215309931363b Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 25 Sep 2019 08:59:48 +0200 Subject: [PATCH] Try to collect directors before we restart fd --- modules/bacula/manifests/client.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}", -- 2.20.1