summaryrefslogtreecommitdiff
path: root/manifests/vhost/template.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-02-23 12:33:05 +0100
committermh <mh@immerda.ch>2010-02-23 12:33:05 +0100
commit34f76230f691de880641f15bfcb84fa7340393f7 (patch)
tree695432af7c672b842cb5440a4098274c582175e3 /manifests/vhost/template.pp
parent72c58371d55bf69cebafea8de290337c9be51b04 (diff)
include mod_security depending on the run_mode
Diffstat (limited to 'manifests/vhost/template.pp')
-rw-r--r--manifests/vhost/template.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/vhost/template.pp b/manifests/vhost/template.pp
index b0b2e8d..bba3437 100644
--- a/manifests/vhost/template.pp
+++ b/manifests/vhost/template.pp
@@ -56,7 +56,10 @@ define apache::vhost::template(
$ldap_user = 'any'
){
if $mod_security {
- include mod_security
+ case $run_mode {
+ 'itk': { include mod_security::itk }
+ default: { include mod_security }
+ }
}
$real_path = $path ? {