summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/ntp.conf.archlinux.erb2
-rw-r--r--templates/ntp.conf.debian.erb2
-rw-r--r--templates/ntp.conf.el.erb2
-rw-r--r--templates/ntp.conf.freebsd.erb2
-rw-r--r--templates/ntp.conf.suse.erb2
5 files changed, 5 insertions, 5 deletions
diff --git a/templates/ntp.conf.archlinux.erb b/templates/ntp.conf.archlinux.erb
index 78494e1..5e27334 100644
--- a/templates/ntp.conf.archlinux.erb
+++ b/templates/ntp.conf.archlinux.erb
@@ -6,7 +6,7 @@
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
# Associate to public NTP pool servers; see http://www.pool.ntp.org/
-<% [servers_real].flatten.each do |server| -%>
+<% [@servers_real].flatten.each do |server| -%>
server <%= server %>
<% end -%>
diff --git a/templates/ntp.conf.debian.erb b/templates/ntp.conf.debian.erb
index 5d966f8..15451cd 100644
--- a/templates/ntp.conf.debian.erb
+++ b/templates/ntp.conf.debian.erb
@@ -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_real].flatten.each do |server| -%>
server <%= server %>
<% end -%>
diff --git a/templates/ntp.conf.el.erb b/templates/ntp.conf.el.erb
index b981511..77c731a 100644
--- a/templates/ntp.conf.el.erb
+++ b/templates/ntp.conf.el.erb
@@ -24,7 +24,7 @@ restrict -6 ::1
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
# Managed by puppet class { "ntp": servers => [ ... ] }
-<% [servers_real].flatten.each do |server| -%>
+<% [@servers_real].flatten.each do |server| -%>
server <%= server %>
<% end -%>
diff --git a/templates/ntp.conf.freebsd.erb b/templates/ntp.conf.freebsd.erb
index 7d08644..1cf00cc 100644
--- a/templates/ntp.conf.freebsd.erb
+++ b/templates/ntp.conf.freebsd.erb
@@ -25,6 +25,6 @@
tinker panic 0
<% end -%>
-<% [servers_real].flatten.each do |server| -%>
+<% [@servers_real].flatten.each do |server| -%>
server <%= server %>
<% end -%>
diff --git a/templates/ntp.conf.suse.erb b/templates/ntp.conf.suse.erb
index e24ec83..4ce6205 100644
--- a/templates/ntp.conf.suse.erb
+++ b/templates/ntp.conf.suse.erb
@@ -39,7 +39,7 @@ fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
<% end -%>
# Managed by puppet class { "ntp": servers => [ ... ] }
-<% [servers_real].flatten.each do |server| -%>
+<% [@servers_real].flatten.each do |server| -%>
server <%= server %>
<% end -%>