[COOK-4322]: Fix the default path for the sasl_passwd file

Signed-off-by: Sean OMeara <someara@opscode.com>
This commit is contained in:
Mick Brooks
2014-02-19 01:06:56 -05:00
committed by Sean OMeara
parent 761fe139e0
commit 14fc7d7919
3 changed files with 8 additions and 3 deletions

View File

@@ -22,4 +22,8 @@ describe 'postfix::sasl_auth' do
file('/etc/postfix/sasl_passwd').must_match(/^# This file is generated by Chef for/)
end
it 'configures postfix to use /etc/postfix/sasl_passwd' do
file('/etc/postfix/main.cf').must_match(/^\s*smtp_sasl_password_maps\s*=.*\/etc\/postfix\/sasl_passwd\s*$/)
end
end