Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make resource_for_short_name look up the canonical resourcejk/automatic-automatic-name | John Keiser | 2015-06-08 | 4 | -58/+95 |
| | |||||
* | Make real exceptions, remove stray canonical argument | John Keiser | 2015-06-08 | 1 | -5/+3 |
| | |||||
* | Make sure resource_name :x only removes automatic provides from that class | John Keiser | 2015-06-08 | 3 | -6/+15 |
| | |||||
* | Overwrite resource_name with provides | John Keiser | 2015-06-08 | 70 | -181/+88 |
| | |||||
* | Make use_automatic_resource_name automatic | John Keiser | 2015-06-08 | 7 | -177/+249 |
| | |||||
* | Improve performance of method_missingjk/perf | John Keiser | 2015-06-08 | 2 | -14/+35 |
| | | | | | by not repeatedly sorting and calling enabled_handlers (This was causing major slowdown in tests) | ||||
* | Better API version error handling helper code. | tylercloke | 2015-06-05 | 8 | -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. | tylercloke | 2015-06-05 | 17 | -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). | tylercloke | 2015-06-05 | 3 | -35/+6 |
| | |||||
* | Reregister V0 support for Chef::Client. | tylercloke | 2015-06-05 | 3 | -22/+37 |
| | |||||
* | Fixed bug where boolean fields would not be populated in Chef::User/ApiClient. | tylercloke | 2015-06-05 | 2 | -25/+26 |
| | |||||
* | Chef::ApiClient.update supports V1. | tylercloke | 2015-06-05 | 1 | -8/+32 |
| | |||||
* | API V1 support for client creation. | tylercloke | 2015-06-05 | 5 | -52/+144 |
| | |||||
* | Move old Chef::*User and related commands to Chef::Osc*User for backwards ↵ | tylercloke | 2015-06-05 | 7 | -0/+571 |
| | | | | compat. | ||||
* | Small updates to Chef::User.list. | tylercloke | 2015-06-05 | 1 | -26/+10 |
| | |||||
* | Use version 1 as the default API version if not specified. | tylercloke | 2015-06-05 | 1 | -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. | tylercloke | 2015-06-05 | 2 | -10/+28 |
| | |||||
* | Added V1 support to Chef::User.update and removed admin field. | tylercloke | 2015-06-05 | 3 | -36/+44 |
| | |||||
* | Added versioned Chef Object API support code and repaired Chef::User.create. | tylercloke | 2015-06-05 | 9 | -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 statement | danielsdeleo | 2015-06-05 | 1 | -1/+0 |
| | |||||
* | allow include_recipe from LWRP provider code | Lamont Granquist | 2015-06-04 | 1 | -0/+4 |
| | | | | | allows include_recipe "build-essential" to work from provider code. | ||||
* | Fix hyphenated LWRP nameshyphenated-lwrp | John Keiser | 2015-06-03 | 1 | -4/+10 |
| | |||||
* | Move deprecated LWRP class override to the deprecation method registrar | John Keiser | 2015-06-03 | 2 | -6/+16 |
| | |||||
* | Fix issue #3463: use real constants instead of const_missing | John Keiser | 2015-06-03 | 2 | -21/+41 |
| | |||||
* | finish wiring up to DSL | Lamont Granquist | 2015-06-03 | 1 | -0/+2 |
| | |||||
* | wire zypper_package up to the DSL | Lamont Granquist | 2015-06-03 | 3 | -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 attribute | Lamont Granquist | 2015-06-02 | 22 | -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/shellout | Jay Mundrawala | 2015-06-02 | 1 | -0/+2 |
|\ | | | | | Add missing require | ||||
| * | Add missing requirejdm/shellout | Jay Mundrawala | 2015-06-02 | 1 | -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/3066 | Jay Mundrawala | 2015-06-02 | 1 | -6/+16 |
|\ \ | | | | | | | Fix copying ntfs dacl and sacl when they are nil | ||||
| * | | Fix copying ntfs dacl and sacl when nulljdm/3066 | SteveLowe | 2015-06-02 | 1 | -6/+16 |
| | | | | | | | | | | | | Fixes #1992 | ||||
* | | | add lazy require for 'chef/config'lcg/chef-config-require | Lamont Granquist | 2015-06-02 | 1 | -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_all | John Keiser | 2015-06-02 | 6 | -11/+12 |
| | | | |||||
* | | | Fix up comments and default priority (when nothing matches) | John Keiser | 2015-06-02 | 13 | -220/+23 |
| | | | |||||
* | | | Remove unnecessary "ClassName." from "ClassName.provides" | John Keiser | 2015-06-02 | 2 | -3/+3 |
| | | | |||||
* | | | Move method_missing to the bottom | John Keiser | 2015-06-02 | 1 | -46/+43 |
| | | | |||||
* | | | Add platform_version to supported filters | John Keiser | 2015-06-02 | 5 | -26/+20 |
| | | | |||||
* | | | Clean up match code to get rid of TODO | John Keiser | 2015-06-02 | 1 | -38/+23 |
| | | | |||||
* | | | Let Ruby validate parameters for us | John Keiser | 2015-06-02 | 1 | -35/+9 |
| | | | |||||
* | | | Fix Solaris and Gentoo package resources, clean up tests | John Keiser | 2015-06-02 | 2 | -1/+12 |
| | | | |||||
* | | | Fix ifconfig platform version filter | John Keiser | 2015-06-02 | 5 | -25/+18 |
| | | | |||||
* | | | Remove generic provides :package and provides :service from base classes | John Keiser | 2015-06-02 | 2 | -4/+0 |
| | | | |||||
* | | | Fix issue with supported_handlers including disabled handlers | John Keiser | 2015-06-02 | 1 | -1/+1 |
| | | | |||||
* | | | Bring back platform mapping resolution call, fix automatic ubuntu provider tests | John Keiser | 2015-06-02 | 2 | -2/+2 |
| | | | |||||
* | | | Add specificity matching | John Keiser | 2015-06-02 | 1 | -4/+36 |
| | | | |||||
* | | | Remove platform mapping from lookup, add comment about how resolution now works | John Keiser | 2015-06-02 | 1 | -79/+15 |
| | | | |||||
* | | | Move provider_mapping values out into the actual resource classes | John Keiser | 2015-06-02 | 21 | -322/+101 |
| | | | |||||
* | | | DRY the service priorities a bit | John Keiser | 2015-06-02 | 1 | -74/+52 |
| | | | |||||
* | | | Fix resource unit test | John Keiser | 2015-06-02 | 2 | -4/+5 |
| | | | |||||
* | | | Make resource deprecation warnings once-only; fix recipe DSL tests back up | John Keiser | 2015-06-02 | 2 | -1/+1 |
| | | |