lib/ohai/plugins/shard.rb in ohai-13.3.0 vs lib/ohai/plugins/shard.rb in ohai-13.4.0
- old
+ new
@@ -14,12 +14,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-require "digest/md5"
-
Ohai.plugin(:ShardSeed) do
+ require "digest/md5"
depends "hostname", "dmi", "machine_id", "machinename"
provides "shard_seed"
def get_dmi_property(dmi, thing)
%w{system base_board chassis}.each do |section|