summaryrefslogtreecommitdiff
path: root/manifests/vhost/php/webapp.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vhost/php/webapp.pp')
-rw-r--r--manifests/vhost/php/webapp.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vhost/php/webapp.pp b/manifests/vhost/php/webapp.pp
index 9989986..d628dd8 100644
--- a/manifests/vhost/php/webapp.pp
+++ b/manifests/vhost/php/webapp.pp
@@ -39,10 +39,10 @@ define apache::vhost::php::webapp(
$config_file = 'absent',
$config_webwriteable = false,
$manage_directories = true,
- $managed_directories
+ $managed_directories = 'absent'
){
if ($ensure != 'absent') {
- if $manage_directories {
+ if $manage_directories and ($managed_directories != 'absent') {
::apache::file::rw{ $managed_directories :
owner => $documentroot_owner,
group => $documentroot_group,