[COOK-4322]: Fix the default path for the sasl_passwd file

Signed-off-by: Sean OMeara <someara@opscode.com>
This commit is contained in:
Mick Brooks
2014-02-19 01:06:56 -05:00
committed by Sean OMeara
parent 761fe139e0
commit 14fc7d7919
3 changed files with 8 additions and 3 deletions

View File

@@ -43,11 +43,11 @@ sasl_pkgs.each do |pkg|
end
execute 'postmap-sasl_passwd' do
command 'postmap /etc/postfix/sasl_passwd'
command "postmap #{node['postfix']['sasl_password_file']}"
action :nothing
end
template '/etc/postfix/sasl_passwd' do
template node['postfix']['sasl_password_file'] do
source 'sasl_passwd.erb'
owner 'root'
group 'root'