]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/ntp/templates/ntp.conf
Syntax fixes
[dsa-puppet.git] / modules / ntp / templates / ntp.conf
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 driftfile /var/lib/ntp/ntp.drift
7 statsdir /var/log/ntpstats/
8
9 statistics loopstats peerstats clockstats
10 filegen loopstats file loopstats type day enable
11 filegen peerstats file peerstats type day enable
12 filegen clockstats file clockstats type day enable
13
14 <% case fqdn
15         when /geo[123].debian.org/:
16 -%>
17 server 0.debian.pool.ntp.org iburst dynamic
18 server 1.debian.pool.ntp.org iburst dynamic
19 server 2.debian.pool.ntp.org iburst dynamic
20 server 3.debian.pool.ntp.org iburst dynamic
21 <%      when "ancina.debian.org": -%>
22 server ntp.ugent.be iburst dynamic
23 <%      when /(albeniz|goetz).debian.org/: -%>
24 server smetana.debian.org iburst dynamic
25 server geo1.debian.org iburst dynamic
26 server geo2.debian.org iburst dynamic
27 server geo3.debian.org iburst dynamic
28 <%      else -%>
29 server geo1.debian.org iburst dynamic
30 server geo2.debian.org iburst dynamic
31 server geo3.debian.org iburst dynamic
32 <% end -%>
33
34 restrict -4 default kod notrap nomodify nopeer noquery
35 restrict -6 default kod notrap nomodify nopeer noquery
36
37 restrict 127.0.0.1
38 restrict ::1