First page Back Continue Last page Overview Graphics
vhost.conf Template
Puppet uses Ruby's ERB template system:
<VirtualHost *>
ServerAdmin <%= admin %>
DocumentRoot <%= docroot %>
ServerName <%= name %>
<% aliases.each do |al| -%>
ServerAlias <%= al %>
<% end -%>
ErrorLog "|/usr/bin/cronolog /var/log/apache/<%= name %>/%Y-%m/error-%d"
CustomLog "|/usr/bin/cronolog /var/log/apache/<%= name %>/%Y-%m/access %d" sane
</VirtualHost>
Notes:
Hostname is taken from facter, baculaserver is set in manifest