diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-03-21 10:58:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-03-21 10:58:23 -0300 |
commit | feab46e1814dab2ced801649344ed92c51716849 (patch) | |
tree | 7eb7ac2ad2669c06ed23737af7dc196504e85661 /templates/site.erb | |
parent | 5ade2be9470c0e4292979535a217c3c477d93237 (diff) | |
download | puppet-apache-feab46e1814dab2ced801649344ed92c51716849.tar.gz puppet-apache-feab46e1814dab2ced801649344ed92c51716849.tar.bz2 |
Adding 'aliases' parameter
Diffstat (limited to 'templates/site.erb')
-rw-r--r-- | templates/site.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/site.erb b/templates/site.erb index 18fce97..4f5f3a1 100644 --- a/templates/site.erb +++ b/templates/site.erb @@ -5,6 +5,9 @@ DocumentRoot <%= docroot %> <% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= hosting_domain %>/<%= redirect_match %><% end %> <% if redirect != false %> Redirect <%= redirect %><% end %> +<% if aliases != false %><% aliases.each do |map| -%> + Alias <%= map %> +<% end -%><% end -%> <% if use != false %><% use.each do |instance| -%> Use <%= instance %> <% end -%><% end -%> |