Merge pull request #11 from mhuffnagle/master

apache_name not being set properly in templates
This commit is contained in:
James Turnbull 2012-04-20 08:26:27 -07:00
commit 7f70d12fa0
2 changed files with 4 additions and 4 deletions

View File

@ -18,9 +18,9 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/<%= apache_name %>/<%= name %>_error.log
ErrorLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/<%= name %>_error.log
LogLevel warn
CustomLog /var/log/<%= apache_name %>/<%= name %>_access.log combined
CustomLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/<%= name %>_access.log combined
ServerSignature Off
</VirtualHost>

View File

@ -20,9 +20,9 @@ NameVirtualHost <%= vhost_name %>:<%= port %>
ProxyPassReverse / <%= dest %>/
ProxyPreserveHost On
ErrorLog /var/log/<%= apache_name %>/<%= name %>_error.log
ErrorLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/<%= name %>_error.log
LogLevel warn
CustomLog /var/log/<%= apache_name %>/<%= name %>_access.log combined
CustomLog /var/log/<%= scope.lookupvar("apache::params::apache_name") %>/<%= name %>_access.log combined
</VirtualHost>