X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/261e7e9cd1a9882faa4ed7087b5902ebafe25988..cdb2f6f01940242c613b6c1d31332598dec7d625:/cookbooks/squid/recipes/default.rb diff --git a/cookbooks/squid/recipes/default.rb b/cookbooks/squid/recipes/default.rb index ce8ec8c9e..aedc8923f 100644 --- a/cookbooks/squid/recipes/default.rb +++ b/cookbooks/squid/recipes/default.rb @@ -41,7 +41,8 @@ directory "/etc/squid/squid.conf.d" do end service "squid" do - action [ :enable, :start ] + provider Chef::Provider::Service::Upstart + action [:enable, :start] supports :status => true, :restart => true, :reload => true subscribes :reload, "template[/etc/squid/squid.conf]" subscribes :restart, "template[/etc/default/squid]"