summaryrefslogtreecommitdiff
path: root/lib/chef/config_fetcher.rb
Commit message (Collapse)AuthorAgeFilesLines
* Force config file setting to absolute path in chef-clientdanielsdeleo2016-01-271-0/+8
|
* Use double quotes by defaultThom May2016-01-141-4/+4
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Remove config file jail, replaced with config skip optiondanielsdeleo2014-09-031-21/+6
|
* remove JSON gem usageLamont Granquist2014-08-111-1/+1
| | | | | | | | | should fully convert to using ffi-yajl there are still issues with JSON gem monkeypatching interacting with chef-zero and the spec tests so we keep the requires here for the json gem and the ffi_yajl/json_gem here. when ohai and chef-zero are fixed, we an just require ffi_yajl.
* replace yajl and json gem with ffi-yajlLamont Granquist2014-06-231-1/+1
|
* Make config jail optional when creating ConfigFetcherdanielsdeleo2013-10-241-1/+1
| | | | This option isn't relevant for node json config fetching
* Flip config_missing? to return true when missingJohn Keiser2013-10-161-6/+6
|
* Load client/solo config via ConfigFetcherdanielsdeleo2013-10-161-2/+31
| | | | | * Uses Chef::HTTP::Simple rather than Chef::REST to fetch files * Re-use error handling logic in ConfigFetcher
* Move config fetching tests to their own file.danielsdeleo2013-10-161-3/+2
|
* Move json attribs fetching to a classdanielsdeleo2013-10-161-0/+51
* Extract duplicated code for fetching/reading JSON attributes to a shared class * Use HTTP::Simple instead of Chef::REST