diff options
author | mh <mh@immerda.ch> | 2010-02-23 12:33:05 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-02-23 12:33:05 +0100 |
commit | 34f76230f691de880641f15bfcb84fa7340393f7 (patch) | |
tree | 695432af7c672b842cb5440a4098274c582175e3 /manifests/vhost | |
parent | 72c58371d55bf69cebafea8de290337c9be51b04 (diff) |
include mod_security depending on the run_mode
Diffstat (limited to 'manifests/vhost')
-rw-r--r-- | manifests/vhost/template.pp | 5 |
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 ? { |