projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
diff --git
a/modules/bacula/manifests/client.pp
b/modules/bacula/manifests/client.pp
index
8890cb7
..
3837699
100644
(file)
--- a/
modules/bacula/manifests/client.pp
+++ b/
modules/bacula/manifests/client.pp
@@
-85,6
+85,13
@@
class bacula::client(
enable => $service_enable,
hasstatus => true,
}
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',
exec { 'bacula-fd restart-when-idle':
path => '/usr/bin:/usr/sbin:/bin:/sbin',