bacula-director needs DNS to launch
authorPeter Palfrader <peter@palfrader.org>
Mon, 17 Jul 2017 09:48:12 +0000 (09:48 +0000)
committerPeter Palfrader <peter@palfrader.org>
Mon, 17 Jul 2017 09:48:12 +0000 (09:48 +0000)
modules/bacula/manifests/director.pp

index 63b77a9..2d3033b 100644 (file)
@@ -10,6 +10,12 @@ class bacula::director inherits bacula {
                hasstatus => true,
                require   => Package['bacula-director-pgsql']
        }
+       systemd::override { 'bacula-director':
+               content => @(EOT)
+                       [Unit]
+                       After=unbound.service
+                       | EOT
+       }
 
        exec { 'bacula-director reload':
                path        => '/usr/bin:/usr/sbin:/bin:/sbin',