]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/networking/libraries/interfaces.rb
Add TOTP token enforcement to overpass
[chef.git] / cookbooks / networking / libraries / interfaces.rb
index 029cb4f32425242b3ace2a6a844df9c8e7cb3cdc..c2f170b9c73a2f56c290d0a0f3cc38110c563eae 100644 (file)
@@ -13,7 +13,7 @@ class Chef
         if block.nil?
           interfaces << interface
         else
-          block.call(interface)
+          yield interface
         end
       end