Skip to content

Fix NTP templates to use @ #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/ntp.conf.archlinux.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>

Expand Down
2 changes: 1 addition & 1 deletion templates/ntp.conf.debian.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>

Expand Down
2 changes: 1 addition & 1 deletion templates/ntp.conf.el.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>

Expand Down
2 changes: 1 addition & 1 deletion templates/ntp.conf.freebsd.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
tinker panic 0

<% end -%>
<% [servers_real].flatten.each do |server| -%>
<% [@servers_real].flatten.each do |server| -%>
server <%= server %>
<% end -%>
2 changes: 1 addition & 1 deletion templates/ntp.conf.suse.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%>

Expand Down