require "ipaddr"
-certificate = node[:tilecache][:ssl][:certificate]
-node.default[:ssl][:certificates] = node[:ssl][:certificates] | [certificate]
-
include_recipe "ssl"
include_recipe "squid"
include_recipe "nginx"
"a.tile.openstreetmap.org",
"b.tile.openstreetmap.org",
"c.tile.openstreetmap.org"]
- fallback_certificate "tile.openstreetmap"
notifies :restart, "service[nginx]"
end