[COOK-2501] Fix conditional in template

This commit is contained in:
Steven Danna 2013-05-08 22:03:56 -07:00
parent 08560f3d7a
commit 3cf2d08a86

View File

@ -20,7 +20,7 @@ smtp_tls_CAfile = <%= node['postfix']['smtp_tls_cafile'] %>
smtp_use_tls = <%= node['postfix']['smtp_use_tls'] %> smtp_use_tls = <%= node['postfix']['smtp_use_tls'] %>
<% end -%> <% end -%>
myhostname = <%= node['postfix']['myhostname'] %> myhostname = <%= node['postfix']['myhostname'] %>
<% if node['postfix']['domain'] %> <% if node['postfix']['mydomain'] %>
mydomain = <%= node['postfix']['mydomain'] %> mydomain = <%= node['postfix']['mydomain'] %>
<% end -%> <% end -%>
myorigin = <%= node['postfix']['myorigin'] %> myorigin = <%= node['postfix']['myorigin'] %>