diff options
author | Ashley Penney <apenney@gmail.com> | 2013-07-09 14:10:19 -0700 |
---|---|---|
committer | Ashley Penney <apenney@gmail.com> | 2013-07-09 14:10:19 -0700 |
commit | 75776217283ba2531d9025b34db567dc06f2ff65 (patch) | |
tree | d1e45b40789bb77cf88ca38c03ba1a3841d20229 /templates/ntp.conf.el.erb | |
parent | 451c93a46c42c9659cc0930a301746cf103dbeb2 (diff) | |
parent | b9ab67401404d13e535d815c8a3eafb78cf143fd (diff) |
Merge pull request #66 from apenney/refactor-round-1
WIP: Refactoring of NTP module
Diffstat (limited to 'templates/ntp.conf.el.erb')
-rw-r--r-- | templates/ntp.conf.el.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/ntp.conf.el.erb b/templates/ntp.conf.el.erb index 77c731a..157b28d 100644 --- a/templates/ntp.conf.el.erb +++ b/templates/ntp.conf.el.erb @@ -1,4 +1,4 @@ -<% 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 @@ -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].flatten.each do |server| -%> server <%= server %> <% end -%> |