service "squid" do
action [:enable, :start]
subscribes :restart, "systemd_service[squid]"
+ subscribes :restart, "directory[#{cache_dir}]"
subscribes :reload, "template[/etc/squid/squid.conf]"
subscribes :reload, "template[/etc/resolv.conf]"
end
munin_plugin "squid_objectsize"
munin_plugin "squid_requests"
munin_plugin "squid_traffic"
-
-Dir.glob("/var/log/squid/zere.log*") do |log|
- File.unlink(log)
-end