diff options
author | Corey Hemminger <hemminger@hotmail.com> | 2022-11-10 16:00:38 -0600 |
---|---|---|
committer | Corey Hemminger <hemminger@hotmail.com> | 2022-11-10 16:00:38 -0600 |
commit | 1a7d8e914e96006052dcaa0f1f1b024e958397d7 (patch) | |
tree | f0e07a16fe792b3cef6ac5096e8691bec645b990 | |
parent | 7497ea8888e317da400d7703cd90caa0a5304d55 (diff) | |
download | chef-1a7d8e914e96006052dcaa0f1f1b024e958397d7.tar.gz |
linting fix
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
-rw-r--r-- | lib/chef/resource/chef_client_config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/chef_client_config.rb b/lib/chef/resource/chef_client_config.rb index dd1d6a086a..aa3a041abe 100644 --- a/lib/chef/resource/chef_client_config.rb +++ b/lib/chef/resource/chef_client_config.rb @@ -255,7 +255,7 @@ class Chef action :create, description: "Create a client.rb config file and folders for configuring #{ChefUtils::Dist::Infra::PRODUCT}." do [ new_resource.config_directory, - (::File.dirname(new_resource.log_location) if new_resource.log_location.is_a?(String) && !%w(STDOUT STDERR).include?(new_resource.log_location) && !new_resource.log_location.empty?), + (::File.dirname(new_resource.log_location) if new_resource.log_location.is_a?(String) && !%w{STDOUT STDERR}.include?(new_resource.log_location) && !new_resource.log_location.empty?), new_resource.file_backup_path, new_resource.file_cache_path, ::File.join(new_resource.config_directory, "client.d"), |