summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-05-23 01:49:16 +0200
committermh <mh@immerda.ch>2009-05-23 01:49:16 +0200
commit8e1961745bd0208f1c9d6d7a4fdc36f80df2314b (patch)
treeec75acde54c1c73ca22061697bce7ee2e63b9b39
parenteac84749aec4251c38a252cf04eaa3a33adafe4d (diff)
it's now possible to not pass managed directories to the webapp define
-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,