diff options
author | mh <mh@immerda.ch> | 2010-08-16 22:01:35 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-08-16 22:01:35 +0200 |
commit | e1f6d460e00761f93b3e22f4bed6f58d723adac0 (patch) | |
tree | 91778a3c627ec66b1d842c7e6dcb2e86c06f8296 /manifests/vhost/template.pp | |
parent | 65c29075a0d0584987264d350a25cd6a467b349f (diff) |
improve vhosts stuff
- move various inclusion to the file define, as this is the last
define for all in the chain
- only include if our vhost is not set to absent
Diffstat (limited to 'manifests/vhost/template.pp')
-rw-r--r-- | manifests/vhost/template.pp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/manifests/vhost/template.pp b/manifests/vhost/template.pp index b4c2562..b0c08f9 100644 --- a/manifests/vhost/template.pp +++ b/manifests/vhost/template.pp @@ -166,15 +166,13 @@ define apache::vhost::template( do_includes => $do_includes, run_mode => $run_mode, ssl_mode => $ssl_mode, + logmode => $logmode, mod_security => $mod_security, htpasswd_file => $htpasswd_file, htpasswd_path => $htpasswd_path, use_mod_macro => $use_mod_macro, } if $ensure != 'absent' { - case $logmode { - 'semianonym','anonym': { include apache::noiplog } - } Apache::Vhost::File[$name]{ content => template("apache/vhosts/$template_mode/$operatingsystem.erb") } |