summaryrefslogtreecommitdiff
path: root/manifests/vhost/webdav.pp
diff options
context:
space:
mode:
authorAndreas <andreas@immerda.ch>2009-12-26 21:05:18 +0100
committerAndreas <andreas@immerda.ch>2009-12-26 21:05:18 +0100
commit2cad483fa8b6b216144ee633d40acb577b0b56fc (patch)
tree00723a0f50bba3fcc8fd59bd13f45722f12276bf /manifests/vhost/webdav.pp
parenta395ba844c86232f7f179b773394a72d8e9421d3 (diff)
DAV needs a writable dir for the db (with itk, with the correct user settings)
Diffstat (limited to 'manifests/vhost/webdav.pp')
-rw-r--r--manifests/vhost/webdav.pp13
1 files changed, 12 insertions, 1 deletions
diff --git a/manifests/vhost/webdav.pp b/manifests/vhost/webdav.pp
index ab99039..8996ab7 100644
--- a/manifests/vhost/webdav.pp
+++ b/manifests/vhost/webdav.pp
@@ -33,8 +33,19 @@ define apache::vhost::webdav(
$htpasswd_file = 'absent',
$htpasswd_path = 'absent',
$ldap_auth = false,
- $ldap_user = 'any'
+ $ldap_user = 'any',
+ $dav_db_dir = 'absent'
){
+ ::apache::vhost::davdir{"${name}":
+ ensure => $ensure,
+ dav_db_dir => $dav_db_dir,
+ documentroot_owner => $documentroot_owner,
+ documentroot_group => $documentroot_group,
+ documentroot_mode => $documentroot_mode,
+ run_mode => $run_mode,
+ run_uid => $run_uid,
+ }
+
if $manage_webdir {
# create webdir
::apache::vhost::webdir{$name: