summaryrefslogtreecommitdiff
path: root/lib/chef/resource/chef_client_config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/chef_client_config.rb')
-rw-r--r--lib/chef/resource/chef_client_config.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/chef_client_config.rb b/lib/chef/resource/chef_client_config.rb
index b3ea86c476..c9e238ce48 100644
--- a/lib/chef/resource/chef_client_config.rb
+++ b/lib/chef/resource/chef_client_config.rb
@@ -227,7 +227,7 @@ class Chef
property :additional_config, String,
description: "Additional text to add at the bottom of the client.rb config. This can be used to run custom Ruby or to add less common config options"
- action :create do
+ action :create, description: "Create a client.rb config file" do
unless ::Dir.exist?(new_resource.config_directory)
directory new_resource.config_directory do
user new_resource.user unless new_resource.user.nil?
@@ -284,7 +284,7 @@ class Chef
end
end
- action :remove do
+ action :remove, description: "Remove a client.rb config file" do
file ::File.join(new_resource.config_directory, "client.rb") do
action :delete
end