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