summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-06-03 11:32:55 -0700
committerClaire McQuin <claire@getchef.com>2014-06-03 11:32:55 -0700
commit043a52459e221133edf2f842392edb094f7011aa (patch)
treef9ba563250b9a182072233bc32162642c8f03dc1 /lib/chef/config.rb
parent3f73e42ea863546430d7d9d405534c8e586b32b9 (diff)
downloadchef-043a52459e221133edf2f842392edb094f7011aa.tar.gz
add comment denoting workaroundCHEF-Issues-1461
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r--lib/chef/config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index e989c39d9a..a797f0a542 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -365,6 +365,7 @@ class Chef
# server API. If set to `true`, the server's cert will be validated
# regardless of the :ssl_verify_mode setting. This is set to `true` when
# running in local-mode.
+ # NOTE: This is a workaround until verify_peer is enabled by default.
default(:verify_api_cert) { Chef::Config.local_mode }
# Path to the default CA bundle files.