Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix supports hash issues in service providers | Lamont Granquist | 2015-08-25 | 1 | -1/+1 |
| | | | | | | | - redhat provider now allows the user to override :status - gentoo provider now allows the user to override :status and :restart - service providers now dup the status hash and mutate their private copy instead of mutating the new_resource | ||||
* | fixes from code review | Lamont Granquist | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | class namespacing | Lamont Granquist | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | add yum_binary | Lamont Granquist | 2015-08-20 | 1 | -1/+10 |
| | | | | | | set this to 'yum-deprecated' if /usr/bin/yum-deprecated exists so that we pick this up rather than getting /usr/bin/yum on systems that have DNF installed (assuming yum-deprecated is installed). | ||||
* | remove bad merge conflict resolution | Lamont Granquist | 2015-08-18 | 1 | -1/+0 |
| | |||||
* | CHEF-5372: Support specific run_levels for RedHat service | Robby Dyer | 2015-08-18 | 1 | -1/+10 |
| | |||||
* | Merge pull request #3145 from veetow/patch-1 | Lamont Granquist | 2015-08-18 | 1 | -1/+1 |
|\ | | | | | Update registry_key.rb | ||||
| * | Update registry_key.rb | veetow | 2015-03-25 | 1 | -1/+1 |
| | | | | | | Because syntax? | ||||
* | | Add support for override depth and adding test in overriding depth | Gomes da Silva | 2015-08-12 | 1 | -2/+8 |
| | | |||||
* | | Move current_value_does_not_exist! directly on Resource | John Keiser | 2015-07-31 | 1 | -0/+2 |
| | | |||||
* | | Add current_value_does_not_exist! API, pretty up the output | John Keiser | 2015-07-31 | 1 | -6/+13 |
| | | |||||
* | | Move converge_if_changed to Chef::Provider proper | John Keiser | 2015-07-31 | 1 | -51/+0 |
| | | |||||
* | | Add Resource.action.converged_if_changed | John Keiser | 2015-07-31 | 1 | -0/+111 |
| | | |||||
* | | Warn about deprecation `%{file}` interpolation in verify command | marguerite | 2015-07-22 | 1 | -0/+4 |
| | | | | | | | | See chef/chef#3232 | ||||
* | | Interpolate `%{path}` in verify command | marguerite | 2015-07-21 | 1 | -1/+3 |
| | | | | | | | | See chef/chef#3232 | ||||
* | | Revert "Merge pull request #3603 from chef/jdm/lwrp-base" | Jay Mundrawala | 2015-06-30 | 1 | -46/+11 |
| | | | | | | | | | | This reverts commit 27d8675ec1c80f1eb7ec57f7b6c854441bb395ee, reversing changes made to 3501ba4020dc21377bc999e57e25eadb315ec783. | ||||
* | | Make ProviderResolver tests work, fix resources to resolve correctly as well ↵ | John Keiser | 2015-06-30 | 5 | -16/+11 |
| | | | | | | | | as providers | ||||
* | | Get tests passing | Jay Mundrawala | 2015-06-30 | 1 | -0/+15 |
| | | |||||
* | | Fix ability to monkey match LWRP through Chef::Resource::MyLwrp | Jay Mundrawala | 2015-06-30 | 1 | -11/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Repro ===== The following cookbook would repro the issue cookbooks/lwrptest/resources/my_lwrp.rb --------------------------------------- ```ruby ``` cookbooks/lwrptest/providers/my_lwrp.rb --------------------------------------- ```ruby ``` cookbooks/lwrptest/recipes/default.rb ------------------------------------- ```ruby module Something def something puts 'something here' end end ::Chef::Resource::LwrptestMyLwrp.send(:include, Something) lwrptest_my_lwrp 'blah' do something end ``` Why it does not work ==================== Running this in 12.4.0 produces the error ``` NoMethodError ------------- undefined method `something' for LWRP resource lwrptest_my_lwrp from cookbook lwrptest ``` The problem is that LWRP usage through `Chef::Resource::MyLwrp` and `Chef::Provider::MyLwrp` is depreacted. In order to participate in the deprecation, `Chef::Resource::MyLwrp` is a subclass of the actual `MyLwrp` class with `initialize` overriden to do a Chef::Log.deprecation. In the example above, the intention is to add a method to the resource so that it can be used from the dsl. The reason this does not work is because including the method on `Chef::Resource::MyLwrp` adds the method to the subclass, and the resource that is looked up when running the recipe is the actual resource. | ||||
* | | Create property on resource, alias attribute to it | John Keiser | 2015-06-23 | 1 | -7/+1 |
| | | |||||
* | | Sort identical "provides" alphabetically (for backcompat) | John Keiser | 2015-06-18 | 2 | -6/+2 |
| | | | | | | | | - Warn when multiple providers try to provide the same thing | ||||
* | | Support arrays as input to actions / allowed_actionsjk/3535 | John Keiser | 2015-06-16 | 1 | -1/+2 |
| | | |||||
* | | Ensure :nothing is in the list of allowed actions for an LWRP | John Keiser | 2015-06-16 | 1 | -1/+1 |
| | | |||||
* | | Overwrite resource_name with provides | John Keiser | 2015-06-08 | 65 | -115/+0 |
| | | |||||
* | | Move deprecated LWRP class override to the deprecation method registrar | John Keiser | 2015-06-03 | 1 | -5/+2 |
| | | |||||
* | | Fix issue #3463: use real constants instead of const_missing | John Keiser | 2015-06-03 | 1 | -3/+6 |
| | | |||||
* | | 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 | 1 | -0/+29 |
| | | | | | | | | | | | | 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 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Use the central priority map for `provides` | John Keiser | 2015-06-02 | 1 | -0/+5 |
| | | |||||
* | | Add default_action and allowed_actions to Resource class, remove from LWRP | John Keiser | 2015-06-01 | 36 | -100/+90 |
| | | |||||
* | | Deprecate provider_basejk/resource_name | John Keiser | 2015-06-01 | 1 | -2/+6 |
| | | |||||
* | | Add use_automatic_resource_name | John Keiser | 2015-06-01 | 65 | -66/+66 |
| | | |||||
* | | Make resource_name call provides | John Keiser | 2015-06-01 | 64 | -55/+66 |
| | | |||||
* | | Move resource_name up to Resource, and figure out its value automatically | John Keiser | 2015-06-01 | 65 | -147/+14 |
| | | |||||
* | | Allow spaces in files for remote_file | Jay Mundrawala | 2015-05-21 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | The following example now works ```ruby remote_file "c:\\nospaces" do source "file:///c:/foo bar" end ``` | ||||
* | | Merge branch 'master' of https://github.com/Kasen/chef into Kasen-master | Thom May | 2015-05-20 | 1 | -1/+1 |
|\ \ | |||||
| * | | Behavior of default_action method changed. | Pavel Yudin | 2015-03-27 | 1 | -1/+1 |
| | | | |||||
* | | | Fix LWRP instance.to_s to look like normal resources againjk/fix_lwrp_class_name | John Keiser | 2015-05-18 | 1 | -2/+2 |
| | | | |||||
* | | | Use canonical_path in windows_package resource for sourcejdm/msi-uri-source | Jay Mundrawala | 2015-05-15 | 1 | -1/+1 |
| | | | |||||
* | | | Surface checksum attribute | Jay Mundrawala | 2015-05-15 | 1 | -0/+8 |
| | | | |||||
* | | | Allow users to override remote_file attributes in windows_package | Jay Mundrawala | 2015-05-15 | 1 | -0/+8 |
| | | | |||||
* | | | Refactor uri detection | Jay Mundrawala | 2015-05-15 | 1 | -13/+3 |
| | | | |||||
* | | | Modify windows package provider to allow url | Jay Mundrawala | 2015-05-15 | 1 | -2/+18 |
| | | | |||||
* | | | Deprecate Chef::Provider::LwrpClass the same way we did Resource | John Keiser | 2015-05-13 | 1 | -4/+4 |
| | | | |||||
* | | | Allow LWRPBase.loaded_lwrps to be called from subclasses | John Keiser | 2015-05-13 | 1 | -4/+6 |
| | | | |||||
* | | | Deprecate dsl_name (the "DSL name for this class" is no longer meaningful). | John Keiser | 2015-05-13 | 1 | -96/+96 |
| | | | |||||
* | | | Make sure LWRPBase requires what it uses (fix travis issue) | John Keiser | 2015-05-13 | 1 | -0/+7 |
| | | | |||||
* | | | Move LWRP class deprecation warning to const_missing | John Keiser | 2015-05-13 | 1 | -24/+2 |
| | | | |||||
* | | | Add "provides" to all resources | John Keiser | 2015-05-13 | 26 | -8/+27 |
| | | |