aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-09-19 12:57:09 +0000
committerMichael Scherer <misc@mageia.org>2011-09-19 12:57:09 +0000
commit5144d92b705b551bfee2bb43ffc9f516e4ea6169 (patch)
treea3f4c7a0d4cc01de18bdef7ff356a53d9cf293ef /modules/apache
parent09dbed341036664ce4368359d8f63e00f71df4d4 (diff)
downloadpuppet-5144d92b705b551bfee2bb43ffc9f516e4ea6169.tar
puppet-5144d92b705b551bfee2bb43ffc9f516e4ea6169.tar.gz
puppet-5144d92b705b551bfee2bb43ffc9f516e4ea6169.tar.bz2
puppet-5144d92b705b551bfee2bb43ffc9f516e4ea6169.tar.xz
puppet-5144d92b705b551bfee2bb43ffc9f516e4ea6169.zip
attempt to fix the problem of undefined log file for apache
Diffstat (limited to 'modules/apache')
-rw-r--r--modules/apache/manifests/init.pp4
1 files 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
}