summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-07-15 06:57:48 -0500
committerGitHub <noreply@github.com>2016-07-15 06:57:48 -0500
commitf2f4815e4fd5ec3a6c7138be67d594af555b12eb (patch)
tree7dc7d446eb3686e828d74da483d3a1fdb2033b29
parentf8f450d85e36befe32dba833e0194943d4b68a15 (diff)
parentb50d7dd216c51f7b3aa09b4c3f2bc4031a60344e (diff)
downloadchef-f2f4815e4fd5ec3a6c7138be67d594af555b12eb.tar.gz
Merge pull request #5114 from dldinternet/master
Ensure that the valid option is given back to the option parser
-rw-r--r--lib/chef/knife/bootstrap.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/knife/bootstrap.rb b/lib/chef/knife/bootstrap.rb
index f5dc29371f..18914f6be2 100644
--- a/lib/chef/knife/bootstrap.rb
+++ b/lib/chef/knife/bootstrap.rb
@@ -224,6 +224,7 @@ class Chef
unless valid_values.include?(v)
raise "Invalid value '#{v}' for --node-ssl-verify-mode. Valid values are: #{valid_values.join(", ")}"
end
+ v
}
option :node_verify_api_cert,