summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/file_system
Commit message (Collapse)AuthorAgeFilesLines
* Re-upgrade chef-zero to latestjk/latest-chef-zeroJohn Keiser2015-09-232-3/+4
|
* Refactor "children" to use make_child_entry everywhere, simplifyjk/fs_childrenJohn Keiser2015-08-0717-87/+60
|
* Don't return nil from make_child_entryJohn Keiser2015-08-071-2/+2
|
* Fix multiple directory warning to print actual directoryJohn Keiser2015-08-071-1/+1
|
* Don't say a file system entry exists unless it can have the givenJohn Keiser2015-08-071-1/+1
| | | | child.
* Rename make_child / _make_child_entry -> make_child_entry for consistencyJohn Keiser2015-08-0714-44/+31
|
* Speed up file system access by not listing children on everyJohn Keiser2015-08-072-1/+20
| | | | | | | | | child(name) access. Also removes an intermittent warning when first downloading large numbers of cookbooks where sometimes a cookbook directory has been created but its children have not: when you run child('other_cookbook') it lists 'cookbooks'.children and notices the empty directory. Annoying, and probably affects knife-ec-backup.
* Allow cookbooks_dir to use chef_rest instead of rest for now.tylercloke2015-07-062-10/+2
|
* Cleanup.tylercloke2015-07-061-1/+1
|
* Default Chef::ChefFS::...::ChefServerRootDir.rest to use API V0 and ↵tylercloke2015-07-062-3/+11
| | | | | | | | deprecated chef_rest. Unfortunately, chef_rest was using the now outdated Chef::HTTP so I could not default it to API V0. It was also being used anywhere except Chef::ChefFS::FileSystem::CookbooksDir, which can just as easially use rest instead of chef_rest as they provide the same interface. That update has been made.
* Missing require (require what you use).jk/missing_requireJohn Keiser2015-06-261-0/+1
|
* fix Lint/UnderscorePrefixedVariableNameLamont Granquist2015-02-231-3/+3
|
* fix Lint/Loop styleLamont Granquist2015-02-181-2/+3
|
* Improve policy ChefFS supportpolicyfile-native-api-supportdanielsdeleo2015-01-272-3/+42
|
* Add ChefFS data handling for policiesdanielsdeleo2015-01-271-0/+3
|
* Fix #2596: parse instead of from_jsonjk/2596John Keiser2014-12-101-1/+1
|
* add empty? method for cheffs base dir classcuriositycasualty2014-10-281-0/+5
| | | | | | | | add spec tests remove commented pry binding delegate to Array#empty? instead
* Trying to eradicate all traces of the JSON gem from Cheftyler-ball2014-10-073-3/+6
|
* Add ChefFS rdoc, format existing ChefFS rdoc correctlyjk/docJohn Keiser2014-09-092-21/+28
|
* Make Chef::Config.versioned_cookbooks configurable by consumersjk/versioned_cookbooks_configJohn Keiser2014-09-055-8/+15
| | | | without having to modify Chef::Config itself
* Fix crash when repo root does not existJohn Keiser2014-09-051-7/+10
|
* Add many comments to DataHandler and FileSystem classesJohn Keiser2014-09-054-8/+52
|
* Add org.json, members.json, invitations.json for full org downloadJohn Keiser2014-09-057-21/+221
| | | | and upload support
* Switch back to ChefZero::RSpec version 3jk/rspec_zero_3John Keiser2014-08-291-1/+1
| | | | And add some Enterprise tests (fix an acl delete issue)
* Use thread-safe OpenSSL::Digest instead of DigestGrzesiek Kolodziejczyk2014-08-201-2/+2
|
* remove JSON gem usageLamont Granquist2014-08-114-10/+10
| | | | | | | | | 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.
* Revert "remove #to_json Monkeytpatching"Lamont Granquist2014-08-092-3/+0
| | | | This reverts commit adbb0fa85cc45b93ba91dc3019094b312cafb35c.
* remove #to_json MonkeypatchingLamont Granquist2014-08-092-0/+3
|
* Remove unused argument to CookbookUploader#initializedanielsdeleo2014-07-301-2/+2
|
* Make root_dir required for CookbookVersion to generate manifestJohn Keiser2014-04-231-2/+7
|
* Don't include .uploaded-cookbook-version.json in knife uploadJohn Keiser2014-04-222-7/+29
| | | | of cookbooks
* Don't consider .uploaded-cookbook-version.json uploadableJohn Keiser2014-04-221-0/+8
| | | | since it won't be uploaded
* Support storage of uploaded cookbook version in local modeJohn Keiser2014-04-221-1/+1
| | | | (this supports freezing and empty cookbook uploads)
* Remove confusing reference to unused variable @childrenJohn Keiser2014-04-211-1/+0
|
* Raise better exceptions in local modeJohn Keiser2014-04-211-1/+10
| | | | (Pass related pedant tests)
* Sign requests to download cookbook files in knife downloadJohn Keiser2013-10-161-1/+1
|\
| * Authenticate when downloading cookbooks so that Enterprise Chef will workJohn Keiser2013-10-151-1/+1
| |
* | Prettify data when writing it out in --local-modeJohn Keiser2013-10-166-10/+60
| |
* | Fix issue where multiple threads try to create same directory at the same timeJohn Keiser2013-10-152-2/+8
|/
* Fix delete and cookbook update for -z parameterJohn Keiser2013-10-115-26/+45
|\
| * Fix DELETE requests for -z for all endpoints, and PUT/POST for cookbooksJohn Keiser2013-10-115-26/+45
| |
* | Add "get_json" helper to upload/download root dir for people who want jsonJohn Keiser2013-10-0911-37/+9
| |
* | Use new Chef::ServerAPI API class in upload/download/diffJohn Keiser2013-10-099-18/+15
| |
* | CHEF-4515: upload sometimes inflates JSON. Fix by using true raw version of ↵John Keiser2013-10-0911-13/+46
|/ | | | Chef::REST
* Fix knife download acls (was not downloading subdirectories)John Keiser2013-10-042-3/+40
|
* Use symlink while uploading multiple versions of cookbooks.sersut2013-10-031-4/+17
|
* replace symlink with cp_rLamont Granquist2013-09-261-3/+5
| | | | | - using file_class.symlink functionality on windows resulted in empty uploaded cookbooks.
* Invalidate "children" caches when children are addedJohn Keiser2013-09-126-5/+11
|
* Change OperationFailedError itself to include the body in "message" if it's ↵Kazuhiro Yamada2013-09-121-0/+8
| | | | a 400.
* Add --cookbook-version to knife download and knife diffJohn Keiser2013-09-122-1/+4
|