summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-09 12:36:17 -0800
committerTim Smith <tsmith@chef.io>2018-03-09 12:36:17 -0800
commit5252de51361c1fbba777bc39b0fdc113e6f7643c (patch)
treed1a0c36ccf97bba63e86fda3e35d014818bfa24f
parent11479650855de52bd38bd75f3b0219d7133e34a3 (diff)
downloadohai-chef_packages_updates.tar.gz
Remove the needless require ohai in the ohai pluginchef_packages_updates
We're in Ohai. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/plugins/ohai.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ohai/plugins/ohai.rb b/lib/ohai/plugins/ohai.rb
index 9cadb480..3b6ed737 100644
--- a/lib/ohai/plugins/ohai.rb
+++ b/lib/ohai/plugins/ohai.rb
@@ -20,8 +20,6 @@ Ohai.plugin(:Ohai) do
provides "chef_packages/ohai"
collect_data do
- require "ohai"
-
chef_packages Mash.new unless chef_packages
chef_packages[:ohai] = Mash.new
chef_packages[:ohai][:version] = Ohai::VERSION