summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-06 19:57:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-06 19:57:03 -0300
commitf84a8bb4d56eecd6451d654d048648b644949922 (patch)
tree07a2ebccb9eacc055e0ea80e6eb03a16edea3142
parenta17bf3f7ab0d578a14b59847472647c4701f0ff1 (diff)
downloadpuppet-apache-f84a8bb4d56eecd6451d654d048648b644949922.tar.gz
puppet-apache-f84a8bb4d56eecd6451d654d048648b644949922.tar.bz2
Templating fix (4)
-rw-r--r--templates/site.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/site.erb b/templates/site.erb
index 34d1b06..25bdb4d 100644
--- a/templates/site.erb
+++ b/templates/site.erb
@@ -32,9 +32,9 @@
RewriteCond %{HTTP_HOST} !=<%= canonical %> [NC]
RewriteCond %{HTTP_HOST} !=""
RewriteRule ^/(.*) <%= protocol %>://<%= canonical %>/$1 [L,R=301]
-<%- if custom_directives != false -%>
- <%= custom_directives %>
-<%- end -%>
+<% if custom_directives != false -%>
+ <%= custom_directives %>
+<% end -%>
<% end %>
</VirtualHost>
# end vhost for <%= title %>
@@ -52,9 +52,9 @@
<% if use != false %><% use.each do |instance| -%>
Use <%= instance %>
<% end -%><% end -%>
-<%- if custom_directives != false -%>
+<% if custom_directives != false -%>
<%= custom_directives %>
-<%- end -%>
+<% end -%>
<% if mpm == true %>
<IfModule mpm_itk_module>
AssignUserId <%= user %> <%= gid %>