]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/ntp/templates/ntp.conf
No point in giving albeniz and goetz a local ntp server too - they are too broken...
[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 /(widor|argento).debian.org/: -%>
24 server 195.49.152.213 iburst
25 server 195.49.152.37 iburst
26 <%      else -%>
27 server geo1.debian.org iburst dynamic
28 server geo2.debian.org iburst dynamic
29 server geo3.debian.org iburst dynamic
30 <% end -%>
31
32 restrict -4 default kod notrap nomodify nopeer noquery
33 restrict -6 default kod notrap nomodify nopeer noquery
34
35 restrict 127.0.0.1
36 restrict ::1