X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..a19f9c4c8ce5cbc8b5b73d2d33de98bae686176b:/cookbooks/squid/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/squid/attributes/default.rb b/cookbooks/squid/attributes/default.rb index 411e61365..ea3b97375 100644 --- a/cookbooks/squid/attributes/default.rb +++ b/cookbooks/squid/attributes/default.rb @@ -1,5 +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]}"]