[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:
@@ -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 -%>
|
||||
|
||||
@@ -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'] %>
|
||||
|
||||
Reference in New Issue
Block a user