X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b0da4432c68bf24f58fcf0c367e3d091493eb6aa..727eef9fdc54a7389929495ddc6007dcacf3fd36:/cookbooks/tilecache/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/tilecache/recipes/default.rb b/cookbooks/tilecache/recipes/default.rb index fbd8ef64d..18aa14e14 100644 --- a/cookbooks/tilecache/recipes/default.rb +++ b/cookbooks/tilecache/recipes/default.rb @@ -21,7 +21,7 @@ include_recipe "squid" tilecaches = search(:node, "roles:tilecache").sort_by { |n| n[:hostname] } -@tilecaches.each do |cache| +tilecaches.each do |cache| cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| firewall_rule "accept-squid" do action :accept