X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1b506c7210655ca2f4ea844cd076e44869d6e6a2..c7cf05063d1fc010c6579e3fa44862637687a79e:/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