]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/templates/default/ntp.conf.erb
Switch to using chrony for time synchronisation
[chef.git] / cookbooks / ntp / templates / default / ntp.conf.erb
diff --git a/cookbooks/ntp/templates/default/ntp.conf.erb b/cookbooks/ntp/templates/default/ntp.conf.erb
deleted file mode 100644 (file)
index ffb263c..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-# DO NOT EDIT - This file is being maintained by Chef
-
-# Exchange time with everybody, but don't allow configuration
-restrict default kod notrap nomodify nopeer noquery
-
-# Local users may interrogate the ntp server more closely
-restrict 127.0.0.1
-restrict ::1
-
-# Servers
-<% node[:ntp][:servers].each do |server| -%>
-server <%= server %> iburst
-<% end -%>
-
-# Drift file
-driftfile /var/lib/ntp/ntp.drift