]> git.openstreetmap.org Git - chef.git/blob - cookbooks/ntp/templates/default/ntp.conf.erb
ffb263ce4ad77c63fc7744aa0281a74cff891182
[chef.git] / cookbooks / ntp / templates / default / ntp.conf.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 # Exchange time with everybody, but don't allow configuration
4 restrict default kod notrap nomodify nopeer noquery
5
6 # Local users may interrogate the ntp server more closely
7 restrict 127.0.0.1
8 restrict ::1
9
10 # Servers
11 <% node[:ntp][:servers].each do |server| -%>
12 server <%= server %> iburst
13 <% end -%>
14
15 # Drift file
16 driftfile /var/lib/ntp/ntp.drift