diff options
author | danielsdeleo <dan@opscode.com> | 2013-10-29 16:02:38 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2014-03-19 22:32:30 -0700 |
commit | cc2307a9b7774c1b8a70066c84961ecbfd05d5d5 (patch) | |
tree | aeb4778ef163c00f04d071618d0c7c40941a5a9e /lib/chef/knife.rb | |
parent | 09f22372674b88e6e3ee7bb9aff406862ae0f27c (diff) | |
download | chef-cc2307a9b7774c1b8a70066c84961ecbfd05d5d5.tar.gz |
Add SSL check and certificate fetching commands to knife
Fixes CHEF-4711
Diffstat (limited to 'lib/chef/knife.rb')
-rw-r--r-- | lib/chef/knife.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/knife.rb b/lib/chef/knife.rb index eb2c321cab..5cbc968980 100644 --- a/lib/chef/knife.rb +++ b/lib/chef/knife.rb @@ -421,6 +421,7 @@ class Chef # Don't try to load a knife.rb if it wasn't specified. if config[:config_file] + Chef::Config.config_file = config[:config_file] fetcher = Chef::ConfigFetcher.new(config[:config_file], Chef::Config.config_file_jail) if fetcher.config_missing? ui.error("Specified config file #{config[:config_file]} does not exist#{Chef::Config.config_file_jail ? " or is not under config file jail #{Chef::Config.config_file_jail}" : ""}!") |