Skip to content

Commit

Permalink
Keep at least one commented pool server in template
Browse files Browse the repository at this point in the history
If a site uses non-pool NTP servers (they have their own infrastructure) then the
comments directly above the iterated list of servers makes no sense.

Better to leave reference to the pool servers and explicitly state which servers
we're using.
  • Loading branch information
Elwell committed Sep 20, 2011
1 parent e7eeaf6 commit c50936e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ntp/templates/ntp.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ restrict -6 ::1

# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
# server 0.pool.ntp.org

# We synchronise from the following
<% scope.lookupvar('ntp::params::ntp_server').each do |ntp| %>server <%= ntp %>
<% end %>

Expand Down

0 comments on commit c50936e

Please sign in to comment.