summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-02-02 13:19:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-02-02 13:19:19 -0200
commitf7696f43f27ad5c030dbe29499973e54b07b1b65 (patch)
tree9b9adda6defac248d4b97fb514bb94bec91e587c
parent3d787d897437fdc5e17f6d24de51fac40eb4020b (diff)
downloadpuppet-apache-f7696f43f27ad5c030dbe29499973e54b07b1b65.tar.gz
puppet-apache-f7696f43f27ad5c030dbe29499973e54b07b1b65.tar.bz2
Putting PassengerUploadBufferDir outside Directory definition
-rw-r--r--templates/macros.erb3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/macros.erb b/templates/macros.erb
index 67953cb..2f7941f 100644
--- a/templates/macros.erb
+++ b/templates/macros.erb
@@ -90,12 +90,13 @@
<Macro Rails $name>
# begin rails config
+ PassengerUploadBufferDir /tmp
+
<Directory <%= apache_sites_folder %>/$name/site>
Options -MultiViews
AllowOverride All
RailsBaseURI /
PassengerResolveSymlinksInDocumentRoot on
- PassengerUploadBufferDir /tmp
</Directory>
# end rails config
</Macro>