[COOK-1792] - add minitest-chef tests

* Create minitest-chef tests
* Also use better style (don't specify action if its the default, use
  5 digit modes, update notification syntax)
This commit is contained in:
jtimberman
2012-10-20 20:41:00 -06:00
parent 99a240edf2
commit d2f29085a3
13 changed files with 342 additions and 27 deletions

View File

@@ -24,12 +24,12 @@ myhostname = <%= node['postfix']['myhostname'] %>
mydomain = <%= node['postfix']['mydomain'] %>
<% end -%>
myorigin = <%= node['postfix']['myorigin'] %>
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_banner = $myhostname ESMTP $mail_name
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = <%= node['postfix']['myhostname'] %>, <%= node['hostname'] %>, localhost.localdomain, localhost
<% if node['postfix']['mail_type'] == "master" -%>
relayhost =
relayhost =
mynetworks = <%= node['postfix']['mail_relay_networks'] %>
inet_interfaces = all
<% else -%>

View File

@@ -1 +1,2 @@
<%= node[:postfix][:relayhost] %> <%= node[:postfix][:smtp_sasl_user_name] %>:<%= node[:postfix][:smtp_sasl_passwd] %>
# This file is generated by Chef for <%= node['fqdn'] %>
<%= node['postfix']['relayhost'] %> <%= node['postfix']['smtp_sasl_user_name'] %>:<%= node['postfix']['smtp_sasl_passwd'] %>