# limitations under the License.
#
+node.default[:ssl][:certificates] = node[:ssl][:certificates] | [ "tile.openstreetmap" ]
+
+include_recipe "ssl"
include_recipe "squid"
tilecaches = search(:node, "roles:tilecache").sort_by { |n| n[:hostname] }
template "squid.conf.erb"
variables :caches => tilecaches
end
+
+template "/etc/logrotate.d/squid" do
+ source "logrotate.squid.erb"
+ owner "root"
+ group "root"
+ mode 0644
+end
+