From e1f6d460e00761f93b3e22f4bed6f58d723adac0 Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 16 Aug 2010 22:01:35 +0200 Subject: 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 --- manifests/vhost/template.pp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'manifests/vhost/template.pp') 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") } -- cgit v1.2.3