diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-12-12 15:25:11 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-12-12 15:25:11 -0200 |
commit | c2fc6292d340456ac6388f5d95a1567fe5ae77af (patch) | |
tree | b3a168f359c8c8c87c3f6c173060c80c8a59b970 | |
parent | 1aa6e5b5de6d92190f25f4f818441c52dedee0aa (diff) | |
download | puppet-apache-c2fc6292d340456ac6388f5d95a1567fe5ae77af.tar.gz puppet-apache-c2fc6292d340456ac6388f5d95a1567fe5ae77af.tar.bz2 |
Adding rails macro
-rw-r--r-- | templates/macros.erb | 9 |
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> |