diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index 83f23bc..2b18af4 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -396,6 +396,7 @@ define nginx::resource::vhost ( notify => Class['nginx::service'], rewrite_rules => $rewrite_rules, } + $root = undef } else { $root = $www_root }