diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-05-27 11:57:14 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-27 12:24:02 -0700 |
commit | 80a8a5ef7a40b143bd8bb08bf5b94dc975aa0286 (patch) | |
tree | 066eebd3ffd1090c91c7b47650daf99142bd6936 /lib/chef/resource/remote_file.rb | |
parent | 2d53bf73631fe7f12361d03972ad3ac722034125 (diff) | |
download | chef-80a8a5ef7a40b143bd8bb08bf5b94dc975aa0286.tar.gz |
Update ssl_verify_mode to have a type and an introduced value
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/remote_file.rb')
-rw-r--r-- | lib/chef/resource/remote_file.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/remote_file.rb b/lib/chef/resource/remote_file.rb index c76f4cafed..1641855ebb 100644 --- a/lib/chef/resource/remote_file.rb +++ b/lib/chef/resource/remote_file.rb @@ -100,7 +100,8 @@ class Chef property :show_progress, [ TrueClass, FalseClass ], default: false - property :ssl_verify_mode, equal_to: %i{verify_none verify_peer}, default: nil, + property :ssl_verify_mode, Symbol, equal_to: %i{verify_none verify_peer}, + introduced: "16.2", description: "Optional property to override SSL policy. If not specified, uses the SSL polify from `config.rb`." property :remote_user, String, |