diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-04 18:21:12 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-04 18:21:12 -0200 |
commit | 82b12b8f82d130b33563fffe1374de9566b19d9d (patch) | |
tree | eb62dfa88e868c388fe91ea740de6498fee929dd | |
parent | ca62743738eef8447cf33dad28177911fa2426fd (diff) | |
download | puppet-apache-82b12b8f82d130b33563fffe1374de9566b19d9d.tar.gz puppet-apache-82b12b8f82d130b33563fffe1374de9566b19d9d.tar.bz2 |
Adding default site template
-rw-r--r-- | templates/default.erb | 15 |
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 %> |