diff options
Diffstat (limited to 'modules/apache/manifests')
-rw-r--r-- | modules/apache/manifests/init.pp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index cc7e00ff..7ec8826c 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -158,10 +158,14 @@ class apache { } if ! $access_logfile { - $access_logfile = "$httpd_logdir/access_log-$real_vhost" + $real_access_logfile = "$httpd_logdir/access_log-$real_vhost" + } else { + $real_access_logfile = $access_logfile } if ! $error_logfile { - $error_logfile = "$httpd_logdir/error_log-$real_vhost" + $real_error_logfile = "$httpd_logdir/error_log-$real_vhost" + } else { + $real_error_logfile = $error_logfile } if $use_ssl { |