summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/resource/ohai.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/chef/resource/ohai.rb b/lib/chef/resource/ohai.rb
index 6cd60de9f4..da221170c3 100644
--- a/lib/chef/resource/ohai.rb
+++ b/lib/chef/resource/ohai.rb
@@ -27,8 +27,12 @@ class Chef
description "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."
- property :ohai_name, name_property: true, introduced: "12.17"
- property :plugin, String
+ property :ohai_name,
+ deprecated: true,
+ name_property: true, introduced: "12.17"
+
+ property :plugin, String,
+ description: "The name of an Ohai plugin to be reloaded. If this property is not specified, the chef-client will reload all plugins."
default_action :reload
allowed_actions :reload