diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-11-26 20:16:59 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-11-26 20:16:59 -0800 |
commit | 67d2b758098c576b8add0c6cbd6d4bbdb4ee81c2 (patch) | |
tree | 843b167e6f17acea30f90ef927f23e2353ca26c6 | |
parent | aa9af2e06e48a782780be3086b88768839cea9b1 (diff) | |
download | chef-67d2b758098c576b8add0c6cbd6d4bbdb4ee81c2.tar.gz |
Add missing introduced fields in chef_client_config
Make sure we properly generate documentation for this
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/resource/chef_client_config.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/chef/resource/chef_client_config.rb b/lib/chef/resource/chef_client_config.rb index aa42bee862..ed5f3b26a8 100644 --- a/lib/chef/resource/chef_client_config.rb +++ b/lib/chef/resource/chef_client_config.rb @@ -243,10 +243,12 @@ class Chef 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" property :data_collector_server_url, String, - description: "The data collector url (typically automate) to send node, converge and compliance data. Note: Data collection reporting to Automate should be performed directly by Chef Infra Server if possible, as this removes the need to distribute tokens to individual nodes." + description: "The data collector url (typically automate) to send node, converge and compliance data. Note: Data collection reporting to Automate should be performed directly by Chef Infra Server if possible, as this removes the need to distribute tokens to individual nodes.", + introduced: "17.8" property :data_collector_token, String, - description: "The data collector token to interact with the data collector server url (Automate). Note: Data collection reporting to Automate should be performed directly by Chef Infra Server if possible, as this removes the need to distribute tokens to individual nodes." + description: "The data collector token to interact with the data collector server url (Automate). Note: Data collection reporting to Automate should be performed directly by Chef Infra Server if possible, as this removes the need to distribute tokens to individual nodes.", + introduced: "17.8" action :create, description: "Create a client.rb config file for configuring #{ChefUtils::Dist::Infra::PRODUCT}." do unless ::Dir.exist?(new_resource.config_directory) |