diff options
author | Tim Smith <tsmith@chef.io> | 2018-02-28 06:09:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 06:09:36 -0800 |
commit | 30741367d4e083cfdc488c9548e40273d7a09505 (patch) | |
tree | 7c1c34e9f1c0bc85ccb963d6c0c943182c0128e0 | |
parent | 8f699a2404e135165a93f8bc171ea74c51fe9524 (diff) | |
parent | 7b1bd44725799b07c6eaac43e2ad2634e7c7ac0f (diff) | |
download | ohai-30741367d4e083cfdc488c9548e40273d7a09505.tar.gz |
Merge pull request #1146 from chef/tm/optional_seed
Mark the shard plugin as optional
-rw-r--r-- | lib/ohai/plugins/shard.rb | 1 |
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| |