X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..b9c59de0157901ad4572bf312b7c2f57fbadd10a:/cookbooks/squid/attributes/default.rb diff --git a/cookbooks/squid/attributes/default.rb b/cookbooks/squid/attributes/default.rb index 990b0dc17..2f49acad0 100644 --- a/cookbooks/squid/attributes/default.rb +++ b/cookbooks/squid/attributes/default.rb @@ -1,4 +1,6 @@ - +default[:squid][:version] = "2" 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]}"]