summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ohai.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/ohai.rb')
-rw-r--r--lib/chef/resource/ohai.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/ohai.rb b/lib/chef/resource/ohai.rb
index 6fffecf16e..f2534413ea 100644
--- a/lib/chef/resource/ohai.rb
+++ b/lib/chef/resource/ohai.rb
@@ -19,6 +19,8 @@
class Chef
class Resource
+ # Use the ohai resource to reload the Ohai configuration on a node. This allows recipes that change system attributes
+ # (like a recipe that adds a user) to refer to those attributes later on during the chef-client run.
class Ohai < Chef::Resource
resource_name :ohai
provides :ohai