1 # DO NOT EDIT - This file is being maintained by Chef
4 <% node[:ntp][:servers].each do |server| -%>
5 pool <%= server %> iburst
8 # This directive specify the location of the file containing ID/key pairs for
10 keyfile /etc/chrony/chrony.keys
12 # This directive specify the file into which chronyd will store the rate
14 driftfile /var/lib/chrony/chrony.drift
16 # Uncomment the following line to turn logging on.
17 #log tracking measurements statistics
20 logdir /var/log/chrony
22 # Stop bad estimates upsetting machine clock.
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.
29 <% if node[:virtualization][:role] == "guest" -%>
30 # Allow anytime step on VM guests
32 # Allow 1h changes and do not exit
35 # Step the system clock instead of slewing it if the adjustment is larger than
36 # one second, but only in the first three clock updates.
40 # Enable leap second slew