[COOK-3116] Add SmartOS support

Signed-off-by: Seth Vargo <sethvargo@gmail.com>
This commit is contained in:
sawanoboly
2013-09-09 23:21:42 -04:00
committed by Seth Vargo
parent 330f140c71
commit a1f685680c
5 changed files with 26 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ execute "update-postfix-aliases" do
action :nothing
end
template "/etc/aliases" do
template node['postfix']['aliases_db'] do
source "aliases.erb"
notifies :run, "execute[update-postfix-aliases]"
end

View File

@@ -44,7 +44,7 @@ when "rhel", "fedora"
end
%w{main master}.each do |cfg|
template "/etc/postfix/#{cfg}.cf" do
template "#{node['postfix']['conf_dir']}/#{cfg}.cf" do
source "#{cfg}.cf.erb"
owner "root"
group 0