summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-02-28 13:50:50 +0000
committerThom May <thom@chef.io>2018-02-28 13:50:50 +0000
commit7b1bd44725799b07c6eaac43e2ad2634e7c7ac0f (patch)
tree7c1c34e9f1c0bc85ccb963d6c0c943182c0128e0
parent8f699a2404e135165a93f8bc171ea74c51fe9524 (diff)
downloadohai-tm/optional_seed.tar.gz
Mark the shard plugin as optionaltm/optional_seed
This avoids the MD5-on-FIPS problems that people suffer. Signed-off-by: Thom May <thom@chef.io>
-rw-r--r--lib/ohai/plugins/shard.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ohai/plugins/shard.rb b/lib/ohai/plugins/shard.rb
index e8e55717..7e5d97b0 100644
--- a/lib/ohai/plugins/shard.rb
+++ b/lib/ohai/plugins/shard.rb
@@ -20,6 +20,7 @@ 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|