diff options
author | Andreas <andreas@immerda.ch> | 2009-12-26 22:08:14 +0100 |
---|---|---|
committer | Andreas <andreas@immerda.ch> | 2009-12-26 22:08:14 +0100 |
commit | 0ff978e88d136b45a39eda4c7114d5238ebb78ff (patch) | |
tree | 892f4c9146c6c68defe73673845f374bafb710a2 /manifests/vhost/template.pp | |
parent | 2cad483fa8b6b216144ee633d40acb577b0b56fc (diff) |
changed davdir->davdbdir, add to template
Diffstat (limited to 'manifests/vhost/template.pp')
-rw-r--r-- | manifests/vhost/template.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/vhost/template.pp b/manifests/vhost/template.pp index bda1f04..d42f65c 100644 --- a/manifests/vhost/template.pp +++ b/manifests/vhost/template.pp @@ -32,6 +32,7 @@ define apache::vhost::template( $php_safe_mode_exec_bin_dir = 'absent', $php_upload_tmp_dir = 'absent', $php_session_save_path = 'absent', + $dav_db_dir = 'absent', $cgi_binpath = 'absent', $do_includes = false, $options = 'absent', @@ -122,6 +123,13 @@ define apache::vhost::template( } default: { $real_php_session_save_path = $php_session_save_path } } + # dav db dir + case $dav_db_dir { + 'absent': { + $real_dav_db_dir = "/var/www/dav_db_dir/$name" + } + default: { $real_dav_db_dir = $dav_db_dir } + } apache::vhost::file{$name: ensure => $ensure, |