X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..84c674ad57aead0d89ad041ca079f3e681c3f57c:/cookbooks/squid/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/squid/attributes/default.rb b/cookbooks/squid/attributes/default.rb index 411e61365..7b7333d44 100644 --- a/cookbooks/squid/attributes/default.rb +++ b/cookbooks/squid/attributes/default.rb @@ -1,5 +1,6 @@ - +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[:apt][:sources] = node[:apt][:sources] | ["squid#{node[:squid][:version]}"]