diff options
Diffstat (limited to 'templates/ntp.conf.el.erb')
-rw-r--r-- | templates/ntp.conf.el.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/ntp.conf.el.erb b/templates/ntp.conf.el.erb index db2aa9c..fc308cc 100644 --- a/templates/ntp.conf.el.erb +++ b/templates/ntp.conf.el.erb @@ -16,7 +16,7 @@ restrict -6 ::1 # Please consider joining the pool (http://www.pool.ntp.org/join.html). # Managed by puppet class { "ntp": servers => [ ... ] } -<% servers_real.each do |server| -%> +<% [servers_real].flatten.each do |server| -%> server <%= server %> <% end -%> |