From 8b4cea68bcb8fd1eb0d614209cd78a68ec4ebd6b Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Wed, 10 Jul 2013 16:17:16 -0400 Subject: Use scope.lookupvar for this to look in the right place. --- templates/ntp.conf.el.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3