Update CAfile path for Debian-based OS.

This fixes [issue
96](https://github.com/opscode-cookbooks/postfix/issues/96). I also
updated the ChefSpec test to reflect the changes.
This commit is contained in:
drag00n
2014-12-23 21:54:47 -05:00
parent 4143c363c1
commit adc0316fc5
2 changed files with 3 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ describe 'postfix::default' do
end
it '[COOK-4423] renders file main.cf with /etc/postfix/cacert.pem' do
expect(chef_run).to render_file('/etc/postfix/main.cf').with_content(%r{smtp_tls_CAfile += +/etc/postfix/cacert.pem})
expect(chef_run).to render_file('/etc/postfix/main.cf').with_content(%r{smtp_tls_CAfile += +/etc/ssl/certs/ca-certificates.crt})
end
it '[COOK-4619] does not set recipient_delimiter' do