From 164eea6bf3512ee252e7c61be60ed7a96d12ec54 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 25 Sep 2019 11:20:39 +0200 Subject: [PATCH] Try after unbound.service instead of network-online.target Doing the after network-online.target was not sufficient. : Config error: Cannot add hostname(adayevskaya.debian.org) and port(9102) to addrlist (Cannot resolve hostname(adayevskaya.debian.org) Temporary failure in name resolution) : : line 23, col 5 of file /etc/bacula/bacula-fd.conf : } --- modules/bacula/manifests/client.pp | 2 +- modules/bacula/manifests/storage.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bacula/manifests/client.pp b/modules/bacula/manifests/client.pp index dbd8d44ab..bfceebf72 100644 --- a/modules/bacula/manifests/client.pp +++ b/modules/bacula/manifests/client.pp @@ -89,7 +89,7 @@ class bacula::client( ensure => $ensure, content => @(EOF), [Unit] - After=network-online.target + After=unbound.service [Service] ExecStart= ExecStart=/usr/sbin/bacula-fd -c $CONFIG -f -u bacula -k diff --git a/modules/bacula/manifests/storage.pp b/modules/bacula/manifests/storage.pp index a9dc5651b..2e7a41784 100644 --- a/modules/bacula/manifests/storage.pp +++ b/modules/bacula/manifests/storage.pp @@ -27,7 +27,7 @@ class bacula::storage ( dsa_systemd::override { 'bacula-sd': content => @(EOT) [Unit] - After=network-online.target + After=unbound.service [Service] Group=bacula SupplementaryGroups=ssl-cert -- 2.20.1