From fe6fcf3ef7f73956dbd173a933bb032f2a5cad35 Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 21 Jun 2009 22:38:29 +0200 Subject: enable setting of mod_security for static hosts --- manifests/vhost/static.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'manifests') 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, } } -- cgit v1.2.3