summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-05-27 11:57:14 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-27 12:24:02 -0700
commit80a8a5ef7a40b143bd8bb08bf5b94dc975aa0286 (patch)
tree066eebd3ffd1090c91c7b47650daf99142bd6936
parent2d53bf73631fe7f12361d03972ad3ac722034125 (diff)
downloadchef-80a8a5ef7a40b143bd8bb08bf5b94dc975aa0286.tar.gz
Update ssl_verify_mode to have a type and an introduced value
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/remote_file.rb3
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,