summaryrefslogtreecommitdiff
path: root/templates/ntp.conf.debian.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ntp.conf.debian.erb')
-rw-r--r--templates/ntp.conf.debian.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/ntp.conf.debian.erb b/templates/ntp.conf.debian.erb
index 15451cd..324b91c 100644
--- a/templates/ntp.conf.debian.erb
+++ b/templates/ntp.conf.debian.erb
@@ -1,6 +1,6 @@
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
-<% if @is_virtual == "true" -%>
+<% if @panic == false -%>
# Keep ntpd from panicking in the event of a large clock skew
# when a VM guest is suspended and resumed.
tinker panic 0
@@ -26,7 +26,7 @@ filegen clockstats file clockstats type day enable
# pool: <http://www.pool.ntp.org/join.html>
# Managed by puppet class { "ntp": servers => [ ... ] }
-<% [@servers_real].flatten.each do |server| -%>
+<% [@servers].flatten.each do |server| -%>
server <%= server %>
<% end -%>