]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/squid/attributes/default.rb
Drop role and cookbook for the old tile CDN
[chef.git] / cookbooks / squid / attributes / default.rb
index 6a7c649d37b0be1d9a34e265e71927399604c94b..ea3b97375dd51dee625487017b5f2501bad9702d 100644 (file)
@@ -1,4 +1,7 @@
-default[:squid][:version] = "2"
+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[:squid][:private_devices] = true
+
+default[:apt][:sources] = node[:apt][:sources] | ["squid#{node[:squid][:version]}"]