summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* remove use of self.provides?lcg/remove-providesLamont Granquist2015-07-096-28/+16
| | | | the block to provides can handle this case
* Update CHANGELOG for Chef 12.4.1Jay Mundrawala2015-07-061-3/+14
|
* Merge pull request #3630 from chef/tc/fix-chef-userJay Mundrawala2015-07-0651-1477/+2009
|\ | | | | Move Chef::OscUser back to Chef::User namespace and new user code to Chef::UserV1.
| * Update changelog.tc/fix-chef-usertylercloke2015-07-061-0/+1
| |
| * Allow cookbooks_dir to use chef_rest instead of rest for now.tylercloke2015-07-062-10/+2
| |
| * Remove all the stupid json magic from Chef::ApiClientV1.tylercloke2015-07-066-111/+44
| |
| * Fix automated object generation from HTTP layer in ApiClient.tylercloke2015-07-061-0/+5
| |
| * Fixed old ApiClient tests.tylercloke2015-07-061-8/+3
| |
| * Set Chef::ApiClient to use API V0.tylercloke2015-07-061-2/+3
| |
| * Cleanup.tylercloke2015-07-062-1/+2
| |
| * Move ApiClient V1 supported code to Chef::ApiClientV1 and restore ↵tylercloke2015-07-0619-352/+944
| | | | | | | | | | | | | | | | Chef::ApiClient. For backwards compatibility. ApiClientV1 will replace ApiClient when Chef 13 is released. Updated client_*.rb knife commands to use ApiClientV1.
| * 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.
| * Remove _rest from http methods.tylercloke2015-07-062-14/+14
| |
| * Move Chef::OscUser back to Chef::User namespace and new user code to ↵tylercloke2015-07-0631-1118/+1122
|/ | | | | | Chef::UserV1. Also, have Chef::User (formally Chef::OscUser) use API V0 to make requests.
* Merge branch 'jk/3634'John Keiser2015-07-062-4/+34
|\
| * Deprecate passing more than 1 argument to create a resourcejk/3634John Keiser2015-07-062-8/+18
| |
| * Don't accept multiple parameters in recipe DSL (just name)John Keiser2015-07-062-4/+24
|/
* Merge branch 'jk/separate-priority-map'John Keiser2015-07-0634-517/+832
|\
| * Memoize enabled_handlers so it is not recomputedjk/separate-priority-mapJohn Keiser2015-07-064-3/+39
| |
| * Re-separate priority map and DSL handler map so that provides has veto power ↵John Keiser2015-07-0634-517/+796
|/ | | | over priority
* Merge branch 'jk/property-state'John Keiser2015-07-0311-585/+1542
|\
| * Move property type derivation from "property_type" to "property"John Keiser2015-07-033-69/+42
| | | | | | | | to keep property_type simple
| * Add Property.create and Resource.property_type for type system overridingJohn Keiser2015-07-036-59/+137
| |
| * Bring set_or_return behavior back in line with what it used to beJohn Keiser2015-07-033-14/+26
| |
| * Only stick non-frozen values to the resourceJohn Keiser2015-07-032-6/+57
| |
| * Code review commentsJohn Keiser2015-07-031-6/+24
| |
| * Make required name attributes workJohn Keiser2015-07-0310-578/+1403
|/
* Make required name attributes workjk/required_name_attributeJohn Keiser2015-07-022-6/+6
|
* Merge pull request #3626 from chef/revert-3606-jdm/pin-ffiJay Mundrawala2015-07-021-1/+1
|\ | | | | Revert "FFI 1.9.9 is causing segfaults"
| * Revert "FFI 1.9.9 is causing segfaults"revert-3606-jdm/pin-ffiJay Mundrawala2015-06-301-1/+1
| |
* | Merge pull request #3623 from chef/jdm/simplify-lwrp1Jay Mundrawala2015-07-013-184/+153
|\ \ | | | | | | Simplify LWRP Deprecations Proposal 1
| * | Fix up specsjdm/simplify-lwrp1Jay Mundrawala2015-06-301-136/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loading the lwrp multiple times causes problems when comparing classes due to the their dynamic nature. It worked fine when we were overriding the things that checked. I've left the tests mostly as is, other than the fact that the test lwrp is loaded only once. The tests should still hold true, even with the new implementation.
| * | Simplify Chef::Resource::MyLWRP deprecationJay Mundrawala2015-06-301-49/+4
| | | | | | | | | | | | | | | | | | | | | Our logic for creating the deprecation class was too complicated and had a lot of edge cases. Simplifying here to only deprecate when `:treat_deprecation_warnings_as_errors` is set. This means that warnings will no longer be printed, however this is a lot less risky.
| * | Added spec for #3607Jay Mundrawala2015-06-301-0/+10
| | |
| * | Revert "Merge pull request #3603 from chef/jdm/lwrp-base"Jay Mundrawala2015-06-303-59/+61
| | | | | | | | | | | | | | | This reverts commit 27d8675ec1c80f1eb7ec57f7b6c854441bb395ee, reversing changes made to 3501ba4020dc21377bc999e57e25eadb315ec783.
* | | Merge pull request #3629 from chef/jdm/update-certsJay Mundrawala2015-07-011-56/+53
|\ \ \ | | | | | | | | Update certs
| * | | Update certsjdm/update-certsJay Mundrawala2015-07-011-56/+53
|/ / /
* | | Merge pull request #3591 from DeWaRs1206/masterThom May2015-07-012-4/+5
|\ \ \ | |_|/ |/| | Use Mixlib::Shellout instead of Chef::Mixin::Command
| * | fix typoDeWaRs12062015-06-292-2/+0
| | |
| * | Merge branch 'master' of https://github.com/DeWaRs1206/chefDeWaRs12062015-06-290-0/+0
| |\ \
| | * | fix solo_spec according previous changeEmmanuel Iturbide2015-06-262-4/+6
| | | |
| * | | fix solo_spec according previous changeEmmanuel Iturbide2015-06-292-4/+6
| |/ /
| * | Use Mixlib::Shellout instead of Chef::Mixin::CommandDeWaRs12062015-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using C:\Users\Administrator>chef-solo -i 30 -s 5 -c C:/monsoon/solo.rb -j http://foo-bar/get-run -r http://foo-bar.com/cookbooks.tar.gz failled with error : [2015-06-25T15:01:52+02:00] DEBUG: ---- End output of tar zxvf C:/chef/recipes.t gz -C C:/chef ---- C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:140:in `block in ou tput_of_command': undefined method `exitstatus' for nil:NilClass (NoMethodError) from C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:122:in `chdir' from C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:122:in `output_of_command' from C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:101:in `run_command_and_return_stdout_stderr' from C:/opscode/chef/embedded/apps/chef/lib/chef/mixin/command.rb:79:in `run_command' from C:/opscode/chef/embedded/apps/chef/lib/chef/application/solo.rb:217 :in `reconfigure' from C:/opscode/chef/embedded/apps/chef/lib/chef/application.rb:58:in `r un' from C:/opscode/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (requi red)>' from C:/opscode/chef/bin/chef-solo:63:in `load' from C:/opscode/chef/bin/chef-solo:63:in `<main>' using Mixlib::ShellOut instead of Chef::Mixin::Command solved the issue
* | | Merge pull request #3608 from chef/adamedx/powershell_script_spec_renameTyler Ball2015-06-303-0/+0
|\ \ \ | | | | | | | | Rename powershell spec files to match Ruby conventions
| * | | Rename powershell spec files to match Ruby conventionsadamedx/powershell_script_spec_renameadamedx2015-06-273-0/+0
| | | |
* | | | Update comment about how action could be a non-array. [ci skip]Noah Kantrowitz2015-06-301-1/+3
| | | |
* | | | Merge pull request #3612 from chef/mcquin/chef-config/workstation-config-loaderClaire McQuin2015-06-306-175/+202
|\ \ \ \ | |_|_|/ |/| | | Move WorkstationConfigLoader into chef-config
| * | | Move workstation_config_loader into chef-configmcquin/chef-config/workstation-config-loaderClaire McQuin2015-06-296-175/+202
| | | |
* | | | Merge branch 'jk/call_provides_when_resolving'John Keiser2015-06-3024-372/+676
|\ \ \ \
| * | | | Make provider resolution tests less invasive (don't actually instantiate the ↵jk/call_provides_when_resolvingJohn Keiser2015-06-304-16/+22
| | | | | | | | | | | | | | | | | | | | provider)