Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / systemdtimesyncd / templates / timesyncd.conf.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 #  This file is part of systemd.
7 #
8 #  systemd is free software; you can redistribute it and/or modify it
9 #  under the terms of the GNU Lesser General Public License as published by
10 #  the Free Software Foundation; either version 2.1 of the License, or
11 #  (at your option) any later version.
12 #
13 # See timesyncd.conf(5) for details
14
15 [Time]
16 #Servers=0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org 3.debian.pool.ntp.org
17 <%=
18   servers = []
19   @localtimeservers.each do |node|
20     scope.lookupvar('deprecated::allnodeinfo')[node]['ipHostNumber'].each do |addr|
21         servers << addr
22     end
23   end
24   "Servers="+servers.join(" ")
25 %>