<% @node[:tilecache][:tile_siblings].each do |cache_peer| -%>
<% @caches.each do |cache| -%>
<% if cache_peer == cache[:fqdn] -%>
<% if cache[:hostname] != node[:hostname] -%>
<% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
<% @node[:tilecache][:tile_siblings].each do |cache_peer| -%>
<% @caches.each do |cache| -%>
<% if cache_peer == cache[:fqdn] -%>
<% if cache[:hostname] != node[:hostname] -%>
<% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>