summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-02-04 18:21:12 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-02-04 18:21:12 -0200
commit82b12b8f82d130b33563fffe1374de9566b19d9d (patch)
treeeb62dfa88e868c388fe91ea740de6498fee929dd /templates
parentca62743738eef8447cf33dad28177911fa2426fd (diff)
downloadpuppet-apache-82b12b8f82d130b33563fffe1374de9566b19d9d.tar.gz
puppet-apache-82b12b8f82d130b33563fffe1374de9566b19d9d.tar.bz2
Adding default site template
Diffstat (limited to 'templates')
-rw-r--r--templates/default.erb15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/default.erb b/templates/default.erb
new file mode 100644
index 0000000..46da14a
--- /dev/null
+++ b/templates/default.erb
@@ -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 %>