From 60a9a823b480b75737a4cce94bc2f0769528670f Mon Sep 17 00:00:00 2001 From: Jim Radford Date: Fri, 11 Apr 2014 15:12:54 -0700 Subject: [PATCH] Stop using $root from upper scopes --- manifests/resource/vhost.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index 83f23bc1f..2b18af435 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -396,6 +396,7 @@ notify => Class['nginx::service'], rewrite_rules => $rewrite_rules, } + $root = undef } else { $root = $www_root }