]> gitweb.fluxo.info Git - puppet-apache.git/commitdiff
Templating fix (4)
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 6 Jun 2013 22:57:03 +0000 (19:57 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 6 Jun 2013 22:57:03 +0000 (19:57 -0300)
templates/site.erb

index 34d1b06440a6ea21da427dece15ddff435f91958..25bdb4d5c09378706458a91e338bb81bb48fe88c 100644 (file)
@@ -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 %>