diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-05-27 13:24:22 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-27 13:24:22 -0700 |
commit | 7c46a4a36cef2ff43e536d06f744994d35102d4c (patch) | |
tree | a224d4ee1f684c25ce4dfdf0a043e1183fcfc821 | |
parent | 92991661079bc69beed868b5c579d5bf4299f62a (diff) | |
download | chef-7c46a4a36cef2ff43e536d06f744994d35102d4c.tar.gz |
Fix incorrect ruby in the ssl_verify_mode check
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/remote_file/http.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/remote_file/http.rb b/lib/chef/provider/remote_file/http.rb index 93a3bd9ebf..67a8fe803d 100644 --- a/lib/chef/provider/remote_file/http.rb +++ b/lib/chef/provider/remote_file/http.rb @@ -138,8 +138,8 @@ class Chef opts[:ssl_verify_mode] = case new_resource.ssl_verify_mode when :verify_none Chef::HTTP::VerifyNoneSSLPolicy - else :verify_peer - Chef::HTTP::VerifyPeerSSLPolicy + when :verify_peer + Chef::HTTP::VerifyPeerSSLPolicy end end opts |