X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..c87a97890768b4427f078d7deda0d1edf4bb39ce:/cookbooks/squid/attributes/default.rb diff --git a/cookbooks/squid/attributes/default.rb b/cookbooks/squid/attributes/default.rb index 990b0dc17..ea3b97375 100644 --- a/cookbooks/squid/attributes/default.rb +++ b/cookbooks/squid/attributes/default.rb @@ -1,4 +1,7 @@ - +default[:squid][:version] = 4 default[:squid][:cache_mem] = "256 MB" default[:squid][:cache_dir] = "ufs /var/spool/squid 256 16 256" -default[:squid][:access_log] = "/var/log/squid/access.log squid" +default[:squid][:access_log] = "/var/log/squid/access.log openstreetmap" +default[:squid][:private_devices] = true + +default[:apt][:sources] = node[:apt][:sources] | ["squid#{node[:squid][:version]}"]