action [:delete]
end
-resolvers = node[:networking][:nameservers].map do |resolver|
- IPAddr.new(resolver).ipv6? ? "[#{resolver}]" : resolver
-end
-
template "/usr/local/bin/nginx_generate_tilecache_qos_map" do
source "nginx_generate_tilecache_qos_map.erb"
owner "root"
nginx_site "tile-ssl" do
template "nginx_tile_ssl.conf.erb"
- variables :resolvers => resolvers, :caches => tilecaches
+ variables :caches => tilecaches
end
template "/etc/logrotate.d/nginx" do