From: Stephen Gran Date: Sun, 15 Mar 2009 17:01:43 +0000 (+0000) Subject: Fix up the template a bit X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=311e28649d7b9b52eed8c08209f199e747c31f38;p=dsa-puppet.git Fix up the template a bit Signed-off-by: Stephen Gran --- diff --git a/templates/exim-test.erb b/templates/exim-test.erb index 7d044aaf..fbbe3be0 100644 --- a/templates/exim-test.erb +++ b/templates/exim-test.erb @@ -16,10 +16,15 @@ HAVE_GREYLIST = 1 # HAVE_GREYLIST is undefined # USE_GREYLISTING is undefined <% end -%> +<% if has_variable?("policyd-weight") && policyd-weight == "true" -%> +HAVE_POLICYD = 1 +<% else -%> +# HAVE_POLICYD is undefined +<% end -%> <% if has_variable?("bugs_host") && bugs_host == "true" -%> HAS_USER_DEBBUGS = 1 <% else -%> -# HAS_USER_DEBBUGS is undefind +# HAS_USER_DEBBUGS is undefined <% end -%> <% if has_variable?("qa_host") && qa_host == "true" -%> HAS_USER_QA = 1