summaryrefslogtreecommitdiff
path: root/lib/chef/provider/ohai.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-02-15 13:02:21 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2017-02-15 13:02:21 -0800
commit80b6150b5aafa1426629102d2b70f13b893b9faf (patch)
tree0e7f79dd1b90b0f4fe18b0247c44d3f155cd1fce /lib/chef/provider/ohai.rb
parentac07b819652edb10b0421c12c16cce13e6e70f23 (diff)
downloadchef-80b6150b5aafa1426629102d2b70f13b893b9faf.tar.gz
cleans up the remaining new/current_resource ivarslcg/remove-ivars
switches from using ivars to accessors for getters Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/provider/ohai.rb')
-rw-r--r--lib/chef/provider/ohai.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/ohai.rb b/lib/chef/provider/ohai.rb
index 8f1939af6d..c36655077b 100644
--- a/lib/chef/provider/ohai.rb
+++ b/lib/chef/provider/ohai.rb
@@ -37,7 +37,7 @@ class Chef
converge_by("re-run ohai and merge results into node attributes") do
ohai = ::Ohai::System.new
- # If @new_resource.plugin is nil, ohai will reload all the plugins
+ # If new_resource.plugin is nil, ohai will reload all the plugins
# Otherwise it will only reload the specified plugin
# Note that any changes to plugins, or new plugins placed on
# the path are picked up by ohai.