From 08dd61bdb93a7005576c380be4d04527da791c30 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 24 May 2011 09:41:53 +0000 Subject: change log filename for logrotate --- modules/apache/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/apache/manifests/init.pp') diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 0ed80a15..2baf6df7 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -158,12 +158,12 @@ class apache { } if ! $access_logfile { - $real_access_logfile = "$httpd_logdir/access_log-$real_vhost" + $real_access_logfile = "$httpd_logdir/$real_vhost-access_log" } else { $real_access_logfile = $access_logfile } if ! $error_logfile { - $real_error_logfile = "$httpd_logdir/error_log-$real_vhost" + $real_error_logfile = "$httpd_logdir/$real_vhost-error_log" } else { $real_error_logfile = $error_logfile } -- cgit v1.2.1