From: Grant Slater Date: Tue, 2 Apr 2019 10:42:27 +0000 (+0100) Subject: ntp: Use leapsecond slew/smearing mode X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/974e549653ae69774fb0b10674e9c69f1e947b06 ntp: Use leapsecond slew/smearing mode --- diff --git a/cookbooks/ntp/templates/default/chrony.conf.erb b/cookbooks/ntp/templates/default/chrony.conf.erb index 2c4cfc4bd..cc3d517a2 100644 --- a/cookbooks/ntp/templates/default/chrony.conf.erb +++ b/cookbooks/ntp/templates/default/chrony.conf.erb @@ -29,3 +29,9 @@ rtcsync # Step the system clock instead of slewing it if the adjustment is larger than # one second, but only in the first three clock updates. makestep 1 3 + +# Enable leap second smearing +# Using recommended options +leapsecmode slew +maxslewrate 1000 +smoothtime 400 0.001 leaponly