sd and fd look up hostnames, so start them only after the network is online -a
[mirror/dsa-puppet.git] / modules / bacula / manifests / client.pp
index 8890cb7..3837699 100644 (file)
@@ -85,6 +85,13 @@ class bacula::client(
     enable    => $service_enable,
     hasstatus => true,
   }
+  dsa_systemd::override { 'bacula-fd':
+    ensure  => $ensure,
+    content => @(EOF),
+      [Unit]
+      After=network-online.target
+      | EOF
+  }
 
   exec { 'bacula-fd restart-when-idle':
     path        => '/usr/bin:/usr/sbin:/bin:/sbin',