mode 0o644
end
-template "/etc/default/squid" do
- source "squid.erb"
- owner "root"
- group "root"
- mode 0o644
-end
-
directory "/etc/squid/squid.conf.d" do
owner "root"
group "root"
action [:enable, :start]
subscribes :restart, "systemd_service[squid]"
subscribes :reload, "template[/etc/squid/squid.conf]"
- subscribes :restart, "template[/etc/default/squid]"
subscribes :reload, "template[/etc/resolv.conf]"
end
+++ /dev/null
-# DO NOT EDIT - This file is being maintained by Chef
-#
-# /etc/default/squid Configuration settings for the Squid proxy server.
-#
-
-# Max. number of filedescriptors to use. You can increase this on a busy
-# cache to a maximum of (currently) 65536 filedescriptors. Default is 1024.
-SQUID_MAXFD=65536