summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-12-12 15:25:11 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-12-12 15:25:11 -0200
commitc2fc6292d340456ac6388f5d95a1567fe5ae77af (patch)
treeb3a168f359c8c8c87c3f6c173060c80c8a59b970
parent1aa6e5b5de6d92190f25f4f818441c52dedee0aa (diff)
downloadpuppet-apache-c2fc6292d340456ac6388f5d95a1567fe5ae77af.tar.gz
puppet-apache-c2fc6292d340456ac6388f5d95a1567fe5ae77af.tar.bz2
Adding rails macro
-rw-r--r--templates/macros.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/macros.erb b/templates/macros.erb
index 065988c..4c25d1f 100644
--- a/templates/macros.erb
+++ b/templates/macros.erb
@@ -83,3 +83,12 @@
</Directory>
# end ikiwiki config
</Macro>
+
+<Macro Rails $name>
+ # begin rails config
+ <Directory <%= apache_sites_folder %>/$name/site>
+ Options -MultiViews
+ AllowOverride All
+ </Directory>
+ # end rails config
+</Macro>