puppetlabs/puppetlabs-apache — pull request #11 by mhuffnagle (2012-02-17 19:28:47+00:00)
Title: apache_name not being set properly in templates

In CentOS 6.2, the log directory was not being set properly for virtual hosts and was giving me something like this:

ErrorLog /var/log/undefined/myhost_error.log
LogLevel warn
CustomLog /var/log/undefined/myhost_access.log combined

Calling scope.lookupvar in the template fixes that.