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

@@ -81,6 +81,8 @@ default['postfix']['main']['inet_interfaces'] = 'loopback-only'
# Conditional attributes, also reference _attributes recipe
case node['platform_family']
when 'debian'
default['postfix']['cafile'] = '/etc/ssl/certs/ca-certificates.crt'
when 'smartos'
default['postfix']['main']['smtpd_use_tls'] = 'no'
default['postfix']['main']['smtp_use_tls'] = 'no'