only_if { node[:nginx][:cache][:proxy][:enable] }
end
service "nginx" do
action [:enable] # Do not start the service as config may be broken from failed chef run
supports :status => true, :restart => true, :reload => true
only_if { node[:nginx][:cache][:proxy][:enable] }
end
service "nginx" do
action [:enable] # Do not start the service as config may be broken from failed chef run
supports :status => true, :restart => true, :reload => true