1 # DO NOT EDIT - This file is being maintained by Chef
 
   4 <% node[:ntp][:servers].each do |server| -%>
 
   5 pool <%= server %> iburst
 
   7 # Add additional non-pool NTP servers
 
   8 # pool.ntp.org can sometimes be aggressive with KoD
 
   9 pool time.cloudflare.com iburst
 
  10 pool time.google.com iburst
 
  12 # Allow local queries for monitoring
 
  16 # Run an initial NTP sync on daemon startup
 
  17 initstepslew 30 time.cloudflare.com time.google.com <%= node[:ntp][:servers].join(" ") %>
 
  19 # This directive specify the location of the file containing ID/key pairs for
 
  21 keyfile /etc/chrony/chrony.keys
 
  23 # This directive specify the file into which chronyd will store the rate
 
  25 driftfile /var/lib/chrony/chrony.drift
 
  27 # Uncomment the following line to turn logging on.
 
  28 #log tracking measurements statistics
 
  31 logdir /var/log/chrony
 
  33 # Stop bad estimates upsetting machine clock.
 
  36 # This directive enables kernel synchronisation (every 11 minutes) of the
 
  37 # real-time clock. Note that it can’t be used along with the 'rtcfile' directive.
 
  40 <% if node[:virtualization][:role] == "guest" -%>
 
  41 # Allow anytime step on VM guests
 
  44 # Step the system clock instead of slewing it if the adjustment is larger than
 
  45 # one second, but only in the first three clock updates.
 
  49 # Enable leap second slew
 
  53 # Enable hardware timestamps if available