[COOK-2499] Do not clone service resource
Signed-off-by: Seth Vargo <sethvargo@gmail.com>
This commit is contained in:
parent
a1f685680c
commit
5e06cdc9a0
@ -24,11 +24,6 @@ if node['postfix']['use_procmail']
|
|||||||
package "procmail"
|
package "procmail"
|
||||||
end
|
end
|
||||||
|
|
||||||
service "postfix" do
|
|
||||||
supports :status => true, :restart => true, :reload => true
|
|
||||||
action :enable
|
|
||||||
end
|
|
||||||
|
|
||||||
case node['platform_family']
|
case node['platform_family']
|
||||||
when "rhel", "fedora"
|
when "rhel", "fedora"
|
||||||
service "sendmail" do
|
service "sendmail" do
|
||||||
@ -56,5 +51,6 @@ end
|
|||||||
end
|
end
|
||||||
|
|
||||||
service "postfix" do
|
service "postfix" do
|
||||||
action :start
|
supports :status => true, :restart => true, :reload => true
|
||||||
|
action [:enable, :start]
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user