]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Maybe this won't make it go silly
authorStephen Gran <steve@lobefin.net>
Sun, 15 Mar 2009 16:41:43 +0000 (16:41 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 15 Mar 2009 16:41:43 +0000 (16:41 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
templates/exim-test.erb

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