From 5144d92b705b551bfee2bb43ffc9f516e4ea6169 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 19 Sep 2011 12:57:09 +0000 Subject: attempt to fix the problem of undefined log file for apache --- modules/apache/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/apache/manifests/init.pp b/modules/apache/manifests/init.pp index 26ddf4f4..d49cadbf 100644 --- a/modules/apache/manifests/init.pp +++ b/modules/apache/manifests/init.pp @@ -169,12 +169,12 @@ class apache { } if ! $access_logfile { - $real_access_logfile = "$httpd_logdir/$real_vhost-access_log" + $real_access_logfile = "$httpd_logdir/${real_vhost}-access_log" } else { $real_access_logfile = $access_logfile } if ! $error_logfile { - $real_error_logfile = "$httpd_logdir/$real_vhost-error_log" + $real_error_logfile = "$httpd_logdir/${real_vhost}-error_log" } else { $real_error_logfile = $error_logfile } -- cgit v1.2.1