]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/squid/attributes/default.rb
imagery: add OpenMap Local 2019 04
[chef.git] / cookbooks / squid / attributes / default.rb
index 411e61365e50cc2ae760c6f3f2d951ad2e8576ac..7b7333d444b8df0dab1d580d39a57a169f585521 100644 (file)
@@ -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]}"]