X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/aa8c90a19bea26953f104b9b78751780dab2a101..f30f230da23603e3c7598205219ce01e9820c470:/cookbooks/networking/libraries/interfaces.rb diff --git a/cookbooks/networking/libraries/interfaces.rb b/cookbooks/networking/libraries/interfaces.rb index 029cb4f32..c2f170b9c 100644 --- a/cookbooks/networking/libraries/interfaces.rb +++ b/cookbooks/networking/libraries/interfaces.rb @@ -13,7 +13,7 @@ class Chef if block.nil? interfaces << interface else - block.call(interface) + yield interface end end