projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only add host to bacula dsa client list if we do backups for it
[mirror/dsa-puppet.git]
/
modules
/
systemdtimesyncd
/
templates
/
timesyncd.conf.erb
diff --git
a/modules/systemdtimesyncd/templates/timesyncd.conf.erb
b/modules/systemdtimesyncd/templates/timesyncd.conf.erb
index
7065c78
..
761a570
100644
(file)
--- a/
modules/systemdtimesyncd/templates/timesyncd.conf.erb
+++ b/
modules/systemdtimesyncd/templates/timesyncd.conf.erb
@@
-16,7
+16,7
@@
#Servers=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
<%=
servers = []
#Servers=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
<%=
servers = []
- localtimeservers.each do |node|
+
@
localtimeservers.each do |node|
scope.lookupvar('site::allnodeinfo')[node]['ipHostNumber'].each do |addr|
servers << addr
end
scope.lookupvar('site::allnodeinfo')[node]['ipHostNumber'].each do |addr|
servers << addr
end