summaryrefslogtreecommitdiff
path: root/chef-config
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-12-09 10:11:10 -0800
committerTim Smith <tsmith84@gmail.com>2019-12-09 10:11:10 -0800
commit68d6a6194a41680f5706cca23ce2b7f7623fe643 (patch)
treeba984bf28e986c6456575f9a76f7941bb23c8d64 /chef-config
parent6d8c76e17366380a44685c45a9f59f5f5cfa5318 (diff)
downloadchef-68d6a6194a41680f5706cca23ce2b7f7623fe643.tar.gz
Chefstyle fixes
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef-config')
-rw-r--r--chef-config/lib/chef-config/config.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index 5f774233b0..8efdf16d7d 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -563,15 +563,15 @@ module ChefConfig
# SSL verification settings. When set to :verify_none no HTTPS requests will
# be validated.
default :ssl_verify_mode, :verify_peer
-
- # Needed to coerce string value to a symbol when loading settings from the
+
+ # Needed to coerce string value to a symbol when loading settings from the
# credentials toml files which doesn't allow ruby symbol values
configurable(:ssl_verify_mode).writes_value do |value|
if value.is_a?(String) && value[0] == ":"
value[1..-1].to_sym
else
value.to_sym
- end
+ end
end
# Whether or not to verify the SSL cert for HTTPS requests to the Chef