X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..1bc290ecce828f4a28d096c383815d2aa9199253:/cookbooks/squid/attributes/default.rb?ds=sidebyside 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]}"]