summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Make resource_for_short_name look up the canonical resourcejk/automatic-automatic-nameJohn Keiser2015-06-084-58/+95
|
* Make real exceptions, remove stray canonical argumentJohn Keiser2015-06-081-5/+3
|
* Make sure resource_name :x only removes automatic provides from that classJohn Keiser2015-06-083-6/+15
|
* Overwrite resource_name with providesJohn Keiser2015-06-0870-181/+88
|
* Make use_automatic_resource_name automaticJohn Keiser2015-06-087-177/+249
|
* Improve performance of method_missingjk/perfJohn Keiser2015-06-082-14/+35
| | | | | by not repeatedly sorting and calling enabled_handlers (This was causing major slowdown in tests)
* Better API version error handling helper code.tylercloke2015-06-058-55/+57
| | | | Renamed Chef::Mixin::ApiVersionRequestHandling.handle_version_http_exception -> server_client_api_version_intersection and made it do much more useful / sane things. See comments for details.
* Backwards compatible support for OSC 11 in knife user commands.tylercloke2015-06-0517-110/+324
| | | | All knife user commands can detect when they have failed for OSC 11 reasons and forward the request to backwards compatible knife osc_user commands.
* Use Chef::ServerAPI to create versioned API requests in Chef::(User|Client).tylercloke2015-06-053-35/+6
|
* Reregister V0 support for Chef::Client.tylercloke2015-06-053-22/+37
|
* Fixed bug where boolean fields would not be populated in Chef::User/ApiClient.tylercloke2015-06-052-25/+26
|
* Chef::ApiClient.update supports V1.tylercloke2015-06-051-8/+32
|
* API V1 support for client creation.tylercloke2015-06-055-52/+144
|
* Move old Chef::*User and related commands to Chef::Osc*User for backwards ↵tylercloke2015-06-057-0/+571
| | | | compat.
* Small updates to Chef::User.list.tylercloke2015-06-051-26/+10
|
* Use version 1 as the default API version if not specified.tylercloke2015-06-051-1/+1
| | | | Default to API v1 and expect that places that were affected by v0 -> v1 changes have properly implemented fallback.
* Made Chef::User.reregister give sane error message if no V0 on server.tylercloke2015-06-052-10/+28
|
* Added V1 support to Chef::User.update and removed admin field.tylercloke2015-06-053-36/+44
|
* Added versioned Chef Object API support code and repaired Chef::User.create.tylercloke2015-06-059-61/+297
| | | | Also added Chef::User.create V1 API support. Chef::User.create will attempt to use V1 of the server API, and if it fails, it will fall back to V0.
* Remove leftover debug statementdanielsdeleo2015-06-051-1/+0
|
* allow include_recipe from LWRP provider codeLamont Granquist2015-06-041-0/+4
| | | | | allows include_recipe "build-essential" to work from provider code.
* Fix hyphenated LWRP nameshyphenated-lwrpJohn Keiser2015-06-031-4/+10
|
* Move deprecated LWRP class override to the deprecation method registrarJohn Keiser2015-06-032-6/+16
|
* Fix issue #3463: use real constants instead of const_missingJohn Keiser2015-06-032-21/+41
|
* finish wiring up to DSLLamont Granquist2015-06-031-0/+2
|
* wire zypper_package up to the DSLLamont Granquist2015-06-033-13/+44
| | | | | | i'm not sure how anybody has been using this resource, but think we may have broken this in 12.0.0 at some point, at any rate this will make it a lot easier for people to actually use.
* fix package timeout attributeLamont Granquist2015-06-0222-89/+111
| | | | | | | | | | updates all the shell_out calls to respect the timeout which is passed on the new_resource. the old `Chef::Config` yum timeout values are still respected and will override the default. the default of 900 seconds is preserved.
* Merge pull request #3467 from chef/jdm/shelloutJay Mundrawala2015-06-021-0/+2
|\ | | | | Add missing require
| * Add missing requirejdm/shelloutJay Mundrawala2015-06-021-0/+2
| | | | | | | | | | | | | | | | This should fix the issue where doing ```ruby require 'chef/resource' ``` throws an exception because Chef::Mixin::ShellOut is not loaded
* | Merge pull request #3471 from chef/jdm/3066Jay Mundrawala2015-06-021-6/+16
|\ \ | | | | | | Fix copying ntfs dacl and sacl when they are nil
| * | Fix copying ntfs dacl and sacl when nulljdm/3066SteveLowe2015-06-021-6/+16
| | | | | | | | | | | | Fixes #1992
* | | add lazy require for 'chef/config'lcg/chef-config-requireLamont Granquist2015-06-021-0/+2
| | | | | | | | | | | | | | | this is probably pulled in by chef/http at the top, but make it explict (lazy to break circular deps).
* | | Create tests for all previous provider_mappingsjk/one_map_to_rule_them_allJohn Keiser2015-06-026-11/+12
| | |
* | | Fix up comments and default priority (when nothing matches)John Keiser2015-06-0213-220/+23
| | |
* | | Remove unnecessary "ClassName." from "ClassName.provides"John Keiser2015-06-022-3/+3
| | |
* | | Move method_missing to the bottomJohn Keiser2015-06-021-46/+43
| | |
* | | Add platform_version to supported filtersJohn Keiser2015-06-025-26/+20
| | |
* | | Clean up match code to get rid of TODOJohn Keiser2015-06-021-38/+23
| | |
* | | Let Ruby validate parameters for usJohn Keiser2015-06-021-35/+9
| | |
* | | Fix Solaris and Gentoo package resources, clean up testsJohn Keiser2015-06-022-1/+12
| | |
* | | Fix ifconfig platform version filterJohn Keiser2015-06-025-25/+18
| | |
* | | Remove generic provides :package and provides :service from base classesJohn Keiser2015-06-022-4/+0
| | |
* | | Fix issue with supported_handlers including disabled handlersJohn Keiser2015-06-021-1/+1
| | |
* | | Bring back platform mapping resolution call, fix automatic ubuntu provider testsJohn Keiser2015-06-022-2/+2
| | |
* | | Add specificity matchingJohn Keiser2015-06-021-4/+36
| | |
* | | Remove platform mapping from lookup, add comment about how resolution now worksJohn Keiser2015-06-021-79/+15
| | |
* | | Move provider_mapping values out into the actual resource classesJohn Keiser2015-06-0221-322/+101
| | |
* | | DRY the service priorities a bitJohn Keiser2015-06-021-74/+52
| | |
* | | Fix resource unit testJohn Keiser2015-06-022-4/+5
| | |
* | | Make resource deprecation warnings once-only; fix recipe DSL tests back upJohn Keiser2015-06-022-1/+1
| | |