X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c50a876827e93cb22a36879a03fa0f0c0270fcb8..cdb2f6f01940242c613b6c1d31332598dec7d625:/cookbooks/squid/recipes/default.rb diff --git a/cookbooks/squid/recipes/default.rb b/cookbooks/squid/recipes/default.rb index 3fb9fcf89..aedc8923f 100644 --- a/cookbooks/squid/recipes/default.rb +++ b/cookbooks/squid/recipes/default.rb @@ -41,10 +41,8 @@ directory "/etc/squid/squid.conf.d" do end service "squid" do - if node[:lsb][:release].to_f >= 14.04 - provider Chef::Provider::Service::Upstart - end - 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]"