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