Fix support for Amazon Linux

Signed-off-by: AkiraFukushima <akira.fukushima@crowdworks.co.jp>
This commit is contained in:
AkiraFukushima
2017-07-28 18:03:06 +09:00
parent 7d1b0e81c9
commit e818f0687b
3 changed files with 5 additions and 1 deletions

View File

@@ -99,6 +99,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