diff options
author | Ashley Penney <apenney@gmail.com> | 2013-07-10 16:09:44 -0700 |
---|---|---|
committer | Ashley Penney <apenney@gmail.com> | 2013-07-10 16:09:44 -0700 |
commit | 1b357eb5e2cf3f84b85a881433a8d9a44414eb23 (patch) | |
tree | a9d093f6038ca0f651409456626f6d94a287c309 /templates/ntp.conf.el.erb | |
parent | f9045347c3751e8184aee9d5d23a86961c5c35e6 (diff) | |
parent | 8b4cea68bcb8fd1eb0d614209cd78a68ec4ebd6b (diff) |
Merge pull request #68 from apenney/rc-fixes
Formatting fixes for the rc
Diffstat (limited to 'templates/ntp.conf.el.erb')
-rw-r--r-- | templates/ntp.conf.el.erb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |