diff options
Diffstat (limited to 'manifests/vhost/redirect.pp')
-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, |