lib/ohai/plugins/shard.rb in ohai-13.12.6 vs lib/ohai/plugins/shard.rb in ohai-14.0.28

- old
+ new

@@ -18,9 +18,10 @@ Ohai.plugin(:ShardSeed) do require "digest/md5" depends "hostname", "dmi", "machine_id", "machinename" provides "shard_seed" + optional true def get_dmi_property(dmi, thing) %w{system base_board chassis}.each do |section| unless dmi[section][thing].strip.empty? return dmi[section][thing]