chef-lctp/site-cookbooks/ntp/templates/default/ntp.conf.erb

10 lines
248 B
Plaintext

# Crontab for <%= @node.name %> managed by Chef. Changes will be overwritten.
server <%= @node.ntp.server %>
restrict default noquery nopeer
<% @node.ntp.subnets.each do |net| -%>
restrict <%= net %>
<% end -%>
driftfile /var/lib/ntp/ntp.drift