diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/ntp.conf.debian.erb | 2 | ||||
-rw-r--r-- | templates/ntp.conf.el.erb | 6 | ||||
-rw-r--r-- | templates/ntp.conf.freebsd.erb | 2 | ||||
-rw-r--r-- | templates/ntp.conf.gentoo.erb | 2 | ||||
-rw-r--r-- | templates/ntp.conf.suse.erb | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/templates/ntp.conf.debian.erb b/templates/ntp.conf.debian.erb index 324b91c..1ca6b20 100644 --- a/templates/ntp.conf.debian.erb +++ b/templates/ntp.conf.debian.erb @@ -25,7 +25,7 @@ filegen clockstats file clockstats type day enable # pick a different set every time it starts up. Please consider joining the # pool: <http://www.pool.ntp.org/join.html> -# Managed by puppet class { "ntp": servers => [ ... ] } +# Managed by puppet class { 'ntp': servers => [ ... ] } <% [@servers].flatten.each do |server| -%> server <%= server %> <% end -%> diff --git a/templates/ntp.conf.el.erb b/templates/ntp.conf.el.erb index 157b28d..9a5d51b 100644 --- a/templates/ntp.conf.el.erb +++ b/templates/ntp.conf.el.erb @@ -23,7 +23,7 @@ restrict -6 ::1 # Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). -# Managed by puppet class { "ntp": servers => [ ... ] } +# Managed by puppet class { 'ntp': servers => [ ... ] } <% [@servers].flatten.each do |server| -%> server <%= server %> <% end -%> @@ -35,13 +35,13 @@ server <%= server %> #manycastserver 239.255.254.254 # manycast server #manycastclient 239.255.254.254 key 42 # manycast client -<% if @is_virtual == "false" -%> +<% if scope.lookupvar('::is_virtual') == "false" -%> # Undisciplined Local Clock. This is a fake driver intended for backup # and when no outside source of synchronized time is available. server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 - <% end -%> + # Drift file. Put this in a directory which the daemon can write to. # No symbolic links allowed, either, since the daemon updates the file # by creating a temporary in the same directory and then rename()'ing diff --git a/templates/ntp.conf.freebsd.erb b/templates/ntp.conf.freebsd.erb index 7fcffb8..12be09c 100644 --- a/templates/ntp.conf.freebsd.erb +++ b/templates/ntp.conf.freebsd.erb @@ -17,7 +17,7 @@ # The option `iburst' is used for faster initial synchronisation. # The option `maxpoll 9' is used to prevent PLL/FLL flipping on FreeBSD. # -# Managed by puppet class { "ntp": servers => [ ... ] } +# Managed by puppet class { 'ntp': servers => [ ... ] } <% if @panic == false -%> # Keep ntpd from panicking in the event of a large clock skew # when a VM guest is suspended and resumed. diff --git a/templates/ntp.conf.gentoo.erb b/templates/ntp.conf.gentoo.erb index c22026a..c981c7d 100644 --- a/templates/ntp.conf.gentoo.erb +++ b/templates/ntp.conf.gentoo.erb @@ -12,7 +12,7 @@ tinker panic 0 <% end -%> -# Managed by puppet class { "ntp": servers => [ ... ] } +# Managed by puppet class { 'ntp': servers => [ ... ] } <% [@servers].flatten.each do |server| -%> server <%= server %> <% end -%> diff --git a/templates/ntp.conf.suse.erb b/templates/ntp.conf.suse.erb index 1cbe6a2..1a4361e 100644 --- a/templates/ntp.conf.suse.erb +++ b/templates/ntp.conf.suse.erb @@ -38,7 +38,7 @@ server 127.127.1.0 # local clock (LCL) fudge 127.127.1.0 stratum 10 # LCL is unsynchronized <% end -%> -# Managed by puppet class { "ntp": servers => [ ... ] } +# Managed by puppet class { 'ntp': servers => [ ... ] } <% [@servers].flatten.each do |server| -%> server <%= server %> <% end -%> |