X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6b8e67103d90b327fb6eb1dd859cfd7f7d18340f..3369f9515111a99387cda562a342f94ea1a13778:/cookbooks/squid/attributes/default.rb diff --git a/cookbooks/squid/attributes/default.rb b/cookbooks/squid/attributes/default.rb index f26853fa8..7b7333d44 100644 --- a/cookbooks/squid/attributes/default.rb +++ b/cookbooks/squid/attributes/default.rb @@ -1,4 +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 openstreetmap" + +default[:apt][:sources] = node[:apt][:sources] | ["squid#{node[:squid][:version]}"]