Merge pull request #139 from crowdworks/fix_amazon_support

Fix support for Amazon Linux
This commit is contained in:
Tim Smith
2017-07-28 09:09:21 -07:00
committed by GitHub
3 changed files with 5 additions and 1 deletions

View File

@@ -100,6 +100,8 @@ when 'smartos'
default['postfix']['cafile'] = '/opt/local/etc/postfix/cacert.pem'
when 'rhel'
default['postfix']['cafile'] = '/etc/pki/tls/cert.pem'
when 'amazon'
default['postfix']['cafile'] = '/etc/pki/tls/cert.pem'
else
default['postfix']['cafile'] = "#{node['postfix']['conf_dir']}/cacert.pem"
end