]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/libraries/ipaddresses.rb
Expire tiles from both osm.gz and osc.gz files
[chef.git] / cookbooks / networking / libraries / ipaddresses.rb
index 5eb54265e02ae8d57e79255a03041bd5bceeb743..51ef152b52fab21ee07c891f5ccdfe48886ac6b4 100644 (file)
@@ -7,7 +7,7 @@ class Chef
         if block.nil?
           addresses << interface[:address]
         else
-          block.call(interface[:address])
+          yield interface[:address]
         end
       end