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