summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Hemminger <hemminger@hotmail.com>2022-11-10 16:00:38 -0600
committerCorey Hemminger <hemminger@hotmail.com>2022-11-10 16:00:38 -0600
commit1a7d8e914e96006052dcaa0f1f1b024e958397d7 (patch)
treef0e07a16fe792b3cef6ac5096e8691bec645b990
parent7497ea8888e317da400d7703cd90caa0a5304d55 (diff)
downloadchef-1a7d8e914e96006052dcaa0f1f1b024e958397d7.tar.gz
linting fix
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
-rw-r--r--lib/chef/resource/chef_client_config.rb2
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"),