]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Does this work, you silly thing?
authorStephen Gran <steve@lobefin.net>
Sun, 15 Mar 2009 16:36:31 +0000 (16:36 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 15 Mar 2009 16:36:31 +0000 (16:36 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
templates/exim-test.erb

index 9bf8cb6191327fc266d2067fe0159aa784df9753..a449c274671b11a43f6f6568f2176fca992459bc 100644 (file)
@@ -1,28 +1,28 @@
-<% if has_variable?("clamd") && clamd == "$true" %>
+<% if has_variable?("clamd") && clamd == "$true" then %>
 CLAMAV = clamd:/var/run/clamav/clamd.ctl
 <% else %>
 # CLAMAV is undefined
-<% end %>
-<% if has_variable?("postgrey") && postgrey == "true" %>
+<% end -%>
+<% if has_variable?("postgrey") && postgrey == "true" then %>
 USE_GREYLISTING = 1
 # HAVE_GREYLIST is undefined
 HAVE_POSTGREY = 1
-<% else if has_variable?("greylistd") && greylistd == "true" %>
+<% else if has_variable?("greylistd") && greylistd == "true" then %>
 USE_GREYLISTING = 1
 HAVE_GREYLIST = 1
 # HAVE_POSTGREY is undefined
-<% else %>
+<% else -%>
 # HAVE_POSTGREY is undefined
 # HAVE_GREYLIST is undefined
 # USE_GREYLISTING is undefined
-<% end %>
-<% if has_variable?("bugs_host") && bugs_host == "true" %>
+<% end -%>
+<% if has_variable?("bugs_host") && bugs_host == "true" then %>
 HAS_USER_DEBBUGS = 1
 <% else %>
 # HAS_USER_DEBBUGS is undefind
-<% end %>
-<% if has_variable?("qa_host") && qa_host == "true" %>
+<% end -%>
+<% if has_variable?("qa_host") && qa_host == "true" then %>
 HAS_USER_QA = 1
 <% else %>
 # HAS_USER_QA is undefined
-<% end %>
+<% end -%>