Add squid2 and squid3 repositories and install the correct one
[chef.git] / cookbooks / squid / attributes / default.rb
index 6a7c649d37b0be1d9a34e265e71927399604c94b..2f49acad05f713642021be7bdd63718ad8117909 100644 (file)
@@ -2,3 +2,5 @@ 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 openstreetmap"
+
+default[:apt][:sources] = node[:apt][:sources] | ["squid#{node[:squid][:version]}"]