]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/incron/recipes/default.rb
Fix some issues identified by rubocop
[chef.git] / cookbooks / incron / recipes / default.rb
index d4a17617935a5294df64dfdab51a91f8040e38e0..29ba1e80781c9672c41f0e3c0d4458bfec350ab9 100644 (file)
@@ -26,7 +26,7 @@ end
 
 incrontabs = {}
 
-node[:incron].each do |name,details|
+node[:incron].each_value do |details|
   user = details[:user]
   path = details[:path]
   mask = details[:events].join(",")