lib/ohai/plugins/shard.rb in ohai-14.1.0 vs lib/ohai/plugins/shard.rb in ohai-14.1.2

- old
+ new

@@ -51,11 +51,11 @@ case Ohai.config[:plugin][:shard_seed][:digest_algorithm] || default_digest_algorithm when "md5" require "digest/md5" Digest::MD5 when "sha256" - require "digest/sha2" - Digest::SHA256 + require "openssl/digest" + OpenSSL::Digest::SHA256 end end # Common sources go here. Put sources that need to be different per-platform # under their collect_data block.