]> git.openstreetmap.org Git - chef.git/blob - cookbooks/ntp/templates/default/chrony.conf.erb
All our machines can slew time so don't bother with server smearing
[chef.git] / cookbooks / ntp / templates / default / chrony.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 # Servers
4 <% node[:ntp][:servers].each do |server| -%>
5 pool <%= server %> iburst
6 <% end -%>
7
8 # This directive specify the location of the file containing ID/key pairs for
9 # NTP authentication.
10 keyfile /etc/chrony/chrony.keys
11
12 # This directive specify the file into which chronyd will store the rate
13 # information.
14 driftfile /var/lib/chrony/chrony.drift
15
16 # Uncomment the following line to turn logging on.
17 #log tracking measurements statistics
18
19 # Log files location.
20 logdir /var/log/chrony
21
22 # Stop bad estimates upsetting machine clock.
23 maxupdateskew 100.0
24
25 # This directive enables kernel synchronisation (every 11 minutes) of the
26 # real-time clock. Note that it can’t be used along with the 'rtcfile' directive.
27 rtcsync
28
29 # Step the system clock instead of slewing it if the adjustment is larger than
30 # one second, but only in the first three clock updates.
31 makestep 1 3
32
33 # Enable leap second slew
34 leapsecmode slew
35 maxslewrate 1000