X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..072547e7382d5b6ea8883f64d4bf8d88784e14a8:/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"