diff options
author | danielsdeleo <dan@opscode.com> | 2013-10-24 13:00:07 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-10-24 13:37:47 -0700 |
commit | d5b46e912598981da53d3e9008787bc6af8c645d (patch) | |
tree | 01d9193bb55f28f6a0dbb9554b7df1e29a860ea9 | |
parent | db37ec05e1695fd6df6525a90e3b0dc16e1ac8bf (diff) | |
download | chef-d5b46e912598981da53d3e9008787bc6af8c645d.tar.gz |
Make config jail optional when creating ConfigFetcher
This option isn't relevant for node json config fetching
-rw-r--r-- | lib/chef/config_fetcher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/config_fetcher.rb b/lib/chef/config_fetcher.rb index 80a313590b..26440c9c01 100644 --- a/lib/chef/config_fetcher.rb +++ b/lib/chef/config_fetcher.rb @@ -9,7 +9,7 @@ class Chef attr_reader :config_location attr_reader :config_file_jail - def initialize(config_location, config_file_jail) + def initialize(config_location, config_file_jail=nil) @config_location = config_location @config_file_jail = config_file_jail end |