summaryrefslogtreecommitdiff
path: root/chef-config/lib/chef-config/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef-config/lib/chef-config/config.rb')
-rw-r--r--chef-config/lib/chef-config/config.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb
index ad4ef0574d..d1f33d3400 100644
--- a/chef-config/lib/chef-config/config.rb
+++ b/chef-config/lib/chef-config/config.rb
@@ -354,6 +354,11 @@ module ChefConfig
default :http_retry_count, 5
default :http_retry_delay, 5
+ # Whether or not to send the Authorization header again on http redirects.
+ # As per the plan in https://github.com/chef/chef/pull/7006, this will be
+ # False in Chef 14, True in Chef 15, and will be removed entirely in Chef 16.
+ default :http_disable_auth_on_redirect, false
+
default :interval, nil
default :once, nil
default :json_attribs, nil