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 }