X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/b858a6e99d90888649d98b2e66399799eb33dd4c..73985606adf9c866cab4e8a414b05fe857a3f46d:/cookbooks/hardware/recipes/default.rb diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 48e8f2888..72b405c3f 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -477,7 +477,7 @@ disks = disks.map do |disk| munin = device end - next if device.nil? + next if device.nil? || munin.nil? Hash[ :device => device,