diff options
author | mh <mh@immerda.ch> | 2010-08-11 19:13:34 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-08-11 19:13:34 +0200 |
commit | 888e0d3dde723fff0ba11d8a24a4c2e64d299ea5 (patch) | |
tree | 9c35fd7ba3013f79721b1b8d49912d17cd88d808 | |
parent | f2fad4fa29ff23b2220ba777f54f6be737e051be (diff) |
use default logpath as redirects usually don't have a root path
-rw-r--r-- | manifests/vhost/redirect.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/vhost/redirect.pp b/manifests/vhost/redirect.pp index e828097..53b1a07 100644 --- a/manifests/vhost/redirect.pp +++ b/manifests/vhost/redirect.pp @@ -32,6 +32,11 @@ define apache::vhost::redirect( domain => $domain, domainalias => $domainalias, server_admin => $server_admin, + logpath => $operatingsystem ? { + openbsd => '/var/www/logs', + centos => '/var/log/httpd', + default => '/var/log/apache2' + }, logmode => $logmode, allow_override => $allow_override, mod_security => false, |