summaryrefslogtreecommitdiff
path: root/manifests/vhost/static.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-06-21 22:38:29 +0200
committermh <mh@immerda.ch>2009-06-21 22:38:29 +0200
commitfe6fcf3ef7f73956dbd173a933bb032f2a5cad35 (patch)
treec76009d3752578f82681385dd0ed9a81bf391417 /manifests/vhost/static.pp
parent71f4ceb0a7aaed9512d493e54947f7e999b053f0 (diff)
enable setting of mod_security for static hosts
Diffstat (limited to 'manifests/vhost/static.pp')
-rw-r--r--manifests/vhost/static.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/vhost/static.pp b/manifests/vhost/static.pp
index 35128af..ecb869d 100644
--- a/manifests/vhost/static.pp
+++ b/manifests/vhost/static.pp
@@ -22,7 +22,8 @@ define apache::vhost::static(
$vhost_source = 'absent',
$vhost_destination = 'absent',
$htpasswd_file = 'absent',
- $htpasswd_path = 'absent'
+ $htpasswd_path = 'absent',
+ $mod_security = false,
){
# create webdir
::apache::vhost::webdir{$name:
@@ -55,7 +56,7 @@ define apache::vhost::static(
ssl_mode => $ssl_mode,
htpasswd_file => $htpasswd_file,
htpasswd_path => $htpasswd_path,
- mod_security => false,
+ mod_security => $mod_security,
}
}