]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Adding default site template
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 4 Feb 2011 20:21:12 +0000 (18:21 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 4 Feb 2011 20:21:12 +0000 (18:21 -0200)
templates/default.erb [new file with mode: 0644]

diff --git a/templates/default.erb b/templates/default.erb
new file mode 100644 (file)
index 0000000..46da14a
--- /dev/null
@@ -0,0 +1,15 @@
+# begin vhost for <%= fqdn %>
+<VirtualHost *:80>
+   ServerName <%= fqdn %>
+   ServerAlias <%= hosting_domain %>
+   DocumentRoot <%= $apache_default_folder %>
+      
+   # begin site config
+   <Directory <%= $apache_default_folder %>>
+      Options Indexes Includes FollowSymLinks MultiViews
+      AllowOverride All
+   </Directory>
+   # end site config
+                                
+</VirtualHost>
+# end vhost for <%= fqdn %>