Stop using $root from upper scopes

This commit is contained in:
Jim Radford 2014-04-11 15:12:54 -07:00
parent e87864b7f9
commit 60a9a823b4

View file

@ -396,6 +396,7 @@ define nginx::resource::vhost (
notify => Class['nginx::service'],
rewrite_rules => $rewrite_rules,
}
$root = undef
} else {
$root = $www_root
}