diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-07-10 16:17:16 -0400 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-07-10 16:17:16 -0400 |
commit | 8b4cea68bcb8fd1eb0d614209cd78a68ec4ebd6b (patch) | |
tree | a9d093f6038ca0f651409456626f6d94a287c309 | |
parent | 2f14ee5a5ed6d2db9a1260f8317aa8b51f2a8d7e (diff) |
Use scope.lookupvar for this to look in the right place.
-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 62166de..9a5d51b 100644 --- a/templates/ntp.conf.el.erb +++ b/templates/ntp.conf.el.erb @@ -35,7 +35,7 @@ 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 |