X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..4e3259a9a87be028b3a591661c386485e4a2a7fc:/cookbooks/squid/recipes/default.rb diff --git a/cookbooks/squid/recipes/default.rb b/cookbooks/squid/recipes/default.rb index 6452f67af..ce8ec8c9e 100644 --- a/cookbooks/squid/recipes/default.rb +++ b/cookbooks/squid/recipes/default.rb @@ -43,9 +43,9 @@ end service "squid" do action [ :enable, :start ] supports :status => true, :restart => true, :reload => true - subscribes :reload, resources(:template => "/etc/squid/squid.conf") - subscribes :restart, resources(:template => "/etc/default/squid") - subscribes :reload, resources(:template => "/etc/resolv.conf") + subscribes :reload, "template[/etc/squid/squid.conf]" + subscribes :restart, "template[/etc/default/squid]" + subscribes :reload, "template[/etc/resolv.conf]" end munin_plugin "squid_cache"