diff options
Diffstat (limited to 'manifests/vhost')
-rw-r--r-- | manifests/vhost/webdir.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/vhost/webdir.pp b/manifests/vhost/webdir.pp index a80f0f8..20ce44f 100644 --- a/manifests/vhost/webdir.pp +++ b/manifests/vhost/webdir.pp @@ -80,9 +80,10 @@ define apache::vhost::webdir( } case $ensure { absent: { - $managed_directories = [ "$real_path", "${real_path}/private", "$logdir" ] if $manage_docroot { - $managed_directories += [ "$documentroot" ] + $managed_directories = [ "$real_path", "${real_path}/private", "$logdir", "$documentroot" ] + } else { + $managed_directories = [ "$real_path", "${real_path}/private", "$logdir" ] } file{$managed_directories: ensure => absent, |