diff options
author | Evan Gilman <evan@pagerduty.com> | 2015-09-02 12:44:59 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-10-24 18:40:09 -0700 |
commit | 3bdfa8f65cf19563e35d2bad3f7fcf9263ac7881 (patch) | |
tree | bdbb2e0503a3bbebb3e3dab6bb2f182ad70183ea /lib/chef/knife | |
parent | cb7712e8b0fa27b161db5d9437514d1aefa481c7 (diff) | |
download | chef-3bdfa8f65cf19563e35d2bad3f7fcf9263ac7881.tar.gz |
Consider only knife configuration for chef environment in bootstrap context
Setting these values in Chef::Config is being deprecated in favor of
using the knife config directly.
https://github.com/chef/chef/issues/3946
Diffstat (limited to 'lib/chef/knife')
-rw-r--r-- | lib/chef/knife/core/bootstrap_context.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/bootstrap_context.rb b/lib/chef/knife/core/bootstrap_context.rb index d210b9418f..8613a50cb4 100644 --- a/lib/chef/knife/core/bootstrap_context.rb +++ b/lib/chef/knife/core/bootstrap_context.rb @@ -40,7 +40,7 @@ class Chef end def bootstrap_environment - @chef_config[:environment] + @config[:environment] end def validation_key |