opscode-cookbooks/postfix — pull request #5 by ampledata (2012-07-13 01:21:06+00:00)
Title: COOK-1442 Adding conditional in case domain is missing (e.g. Vagrant).

Added a conditional around the 'mydomain' param in the main.cf.erb Template.

* The prior behavior would insert an empty string for the 'mydomain' config param if `node['postfix']['domain']` is unset (such as in a Vagrant vm). This would throw an error on postfix startup.
* The new behavior inserts no 'mydomain' config param.

JIRA: http://tickets.opscode.com/browse/COOK-1442

PLEASEREVIEW: @jtimberman