COOK-4086, add omnios support
Signed-off-by: Sean OMeara <someara@opscode.com>
This commit is contained in:
committed by
Sean OMeara
parent
14fc7d7919
commit
14612d63fd
@@ -29,6 +29,10 @@ case node['platform']
|
||||
when 'smartos'
|
||||
default['postfix']['conf_dir'] = '/opt/local/etc/postfix'
|
||||
default['postfix']['aliases_db'] = '/opt/local/etc/postfix/aliases'
|
||||
when 'omnios'
|
||||
default['postfix']['conf_dir'] = '/opt/omni/etc/postfix'
|
||||
default['postfix']['aliases_db'] = 'opt/omni/etc/postfix/aliases'
|
||||
default['postfix']['uid'] = 11
|
||||
else
|
||||
default['postfix']['conf_dir'] = '/etc/postfix'
|
||||
default['postfix']['aliases_db'] = '/etc/aliases'
|
||||
@@ -59,7 +63,7 @@ when 'smartos'
|
||||
when 'rhel'
|
||||
cafile = '/etc/pki/tls/cert.pem'
|
||||
else
|
||||
cafile = '/etc/postfix/cacert.pem'
|
||||
cafile = "#{node['postfix']['conf_dir']}/cacert.pem"
|
||||
end
|
||||
|
||||
if node['postfix']['use_procmail']
|
||||
|
||||
Reference in New Issue
Block a user