summaryrefslogtreecommitdiff
path: root/manifests/vhost
diff options
context:
space:
mode:
authorAndreas <andreas@immerda.ch>2010-01-01 22:42:23 +0100
committerAndreas <andreas@immerda.ch>2010-01-01 22:42:23 +0100
commit8e875f89ae0e481dfbc31f2674a85e5b669c1765 (patch)
treece7ddac613282444e17d9efb72d71e0ea3ae3351 /manifests/vhost
parent2f8cc00105db8b8393b1c7e66c145dc705613db5 (diff)
create g2data dir
Diffstat (limited to 'manifests/vhost')
-rw-r--r--manifests/vhost/php/gallery2.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/vhost/php/gallery2.pp b/manifests/vhost/php/gallery2.pp
index 13cae5d..78e8533 100644
--- a/manifests/vhost/php/gallery2.pp
+++ b/manifests/vhost/php/gallery2.pp
@@ -58,6 +58,12 @@ define apache::vhost::php::gallery2(
},
default => "${path}/g2data"
}
+ file{$gdatadir:
+ ensure => directory,
+ owner => $documentroot_owner,
+ group => $documentroot_group,
+ mode => 0770;
+ }
# create vhost configuration file
::apache::vhost::php::webapp{$name: