]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Moving website.erb to site.erb
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 8 Nov 2009 14:07:38 +0000 (12:07 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 8 Nov 2009 14:07:38 +0000 (12:07 -0200)
.gitignore [new file with mode: 0644]
templates/site.erb [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..d9568ca
--- /dev/null
@@ -0,0 +1 @@
+*swp
diff --git a/templates/site.erb b/templates/site.erb
new file mode 100644 (file)
index 0000000..795fadc
--- /dev/null
@@ -0,0 +1,11 @@
+# begin vhost for <%= title %>
+<VirtualHost *:80>
+   ServerName <%= title %>.<%= domain %>
+<% if server_alias != false %>   ServerAlias <%= server_alias %><% end %>
+   DocumentRoot <%= docroot %>
+<% if redirect != false %>   RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= domain %>/<%= redirect %><% end %>
+<% if use != false %><% use.each do |instance| -%>
+   Use <%= instance %><% end -%>
+<% end -%>
+</VirtualHost>
+# end vhost for <%= title %>