diff options
author | danielsdeleo <dan@getchef.com> | 2014-09-02 15:20:56 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2014-09-03 12:44:46 -0700 |
commit | ae7d23c48b9d93b0e10789eb3f0e307a18351d99 (patch) | |
tree | c0a9f5208a641069640473e1c9879573ecc56180 /lib/chef/application.rb | |
parent | b4145b8ea22c91d22fc66fd585e36e1a415ede38 (diff) | |
download | chef-ae7d23c48b9d93b0e10789eb3f0e307a18351d99.tar.gz |
Remove config file jail, replaced with config skip option
Diffstat (limited to 'lib/chef/application.rb')
-rw-r--r-- | lib/chef/application.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/application.rb b/lib/chef/application.rb index 7a80b700d6..5b1d53d741 100644 --- a/lib/chef/application.rb +++ b/lib/chef/application.rb @@ -81,10 +81,11 @@ class Chef::Application # Parse the config file def load_config_file - config_fetcher = Chef::ConfigFetcher.new(config[:config_file], Chef::Config.config_file_jail) + config_fetcher = Chef::ConfigFetcher.new(config[:config_file]) if config[:config_file].nil? Chef::Log.warn("No config file found or specified on command line, using command line options.") elsif config_fetcher.config_missing? + pp config_missing: true Chef::Log.warn("*****************************************") Chef::Log.warn("Did not find config file: #{config[:config_file]}, using command line options.") Chef::Log.warn("*****************************************") |