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