Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix to allow LW resources to be used with HW providersjdm/lwrp-fix | Jay Mundrawala | 2015-06-24 | 2 | -1/+27 |
| | | | | | | | | | | | | | | This should fix sethvargo-cookbooks/swap#22 Here's what was happening: The cookbooks creates a Resource using the LWRP base. This dynamically creates a class. We used to create this class with the name Chef::Resource::SomeResourceName. In 12.4, this change to something like "LWRP resource some_resource_name from cookbook CookbookName". When searching for a provider, it couldn't be found because it wasn't explicitly set, as it would have been if it was a LW provider, and it wasn't found in Chef::Provider, because Chef::Provider had a provider SomeResourceName instead of "LWRP resource some_resource_name from cookbook CookbookName". | ||||
* | Merge branch 'jk/property-base' | John Keiser | 2015-06-23 | 6 | -131/+2415 |
|\ | |||||
| * | Do not validate defaults, for backcompat purposesjk/property-base | John Keiser | 2015-06-23 | 2 | -21/+39 |
| | | |||||
| * | Freeze default constants | John Keiser | 2015-06-23 | 2 | -2/+7 |
| | | |||||
| * | Fix set_or_return order: default->coerce->validate | John Keiser | 2015-06-23 | 3 | -147/+188 |
| | | |||||
| * | Add some comments | John Keiser | 2015-06-23 | 1 | -13/+173 |
| | | |||||
| * | Evaluate lazy defaults in context of the instance | John Keiser | 2015-06-23 | 2 | -30/+29 |
| | | |||||
| * | Add coercion | John Keiser | 2015-06-23 | 2 | -81/+89 |
| | | |||||
| * | Add property_is_set? | John Keiser | 2015-06-23 | 4 | -135/+145 |
| | | |||||
| * | Ensure validators don't run against initial values | John Keiser | 2015-06-23 | 2 | -0/+4 |
| | | |||||
| * | Don't validate `nil` when setting the value to nil | John Keiser | 2015-06-23 | 3 | -36/+59 |
| | | |||||
| * | Allow values to be set to nil (override defaults) if user allows it | John Keiser | 2015-06-23 | 4 | -85/+186 |
| | | |||||
| * | Make "is" fail if you pass nil and don't validate it | John Keiser | 2015-06-23 | 2 | -70/+95 |
| | | |||||
| * | Add lazy to Resource class DSL | John Keiser | 2015-06-23 | 2 | -8/+15 |
| | | |||||
| * | Add property= setter to properties | John Keiser | 2015-06-23 | 2 | -21/+27 |
| | | |||||
| * | Add name_property | John Keiser | 2015-06-23 | 3 | -10/+10 |
| | | |||||
| * | Add property Type as an alias to is | John Keiser | 2015-06-23 | 4 | -55/+106 |
| | | |||||
| * | Add "is" to property | John Keiser | 2015-06-23 | 4 | -156/+175 |
| | | |||||
| * | Create property on resource, alias attribute to it | John Keiser | 2015-06-23 | 6 | -16/+1823 |
|/ | |||||
* | Merge branch 'jk/resource_actions' | John Keiser | 2015-06-23 | 15 | -213/+1214 |
|\ | |||||
| * | Make load/include recipe run in child contextjk/resource_actions | John Keiser | 2015-06-23 | 5 | -3/+60 |
| | | |||||
| * | Remove unnecessary TODOs | John Keiser | 2015-06-23 | 2 | -5/+106 |
| | | |||||
| * | Don't modify provider_for_action, just use "provider" | John Keiser | 2015-06-23 | 1 | -2/+1 |
| | | |||||
| * | Rename Chef::DSL::Recipe::Everything -> FullDSL | John Keiser | 2015-06-23 | 5 | -12/+5 |
| | | |||||
| * | Rename create_action_provider_class -> new_action_provider_class | John Keiser | 2015-06-23 | 1 | -3/+3 |
| | | |||||
| * | Delegate all necessary methods from ChildRunContext to RunContext | John Keiser | 2015-06-23 | 3 | -6/+66 |
| | | |||||
| * | Add comments and use def self.x instead of class<<self | John Keiser | 2015-06-23 | 4 | -69/+106 |
| | | |||||
| * | Remove redundant default_action/allowed_actions | John Keiser | 2015-06-23 | 8 | -22/+0 |
| | | |||||
| * | Get tests running under Ruby 2.0 | John Keiser | 2015-06-23 | 1 | -3/+7 |
| | | |||||
| * | Update resource_name in resource action tests | John Keiser | 2015-06-23 | 2 | -5/+5 |
| | | |||||
| * | Create the `action :name do ... end` syntax for Resource | John Keiser | 2015-06-23 | 9 | -202/+648 |
| | | |||||
| * | Give run contexts children instead of using external duping | John Keiser | 2015-06-23 | 4 | -122/+387 |
| | | |||||
| * | Define the action() method | John Keiser | 2015-06-23 | 1 | -0/+36 |
| | | |||||
| * | Add default_action and allowed_actions to Resource class, remove from LWRP | John Keiser | 2015-06-23 | 10 | -0/+25 |
|/ | |||||
* | Bump revision to 12.5.0.current.0jk/master12_5 | John Keiser | 2015-06-23 | 6 | -166/+6 |
| | |||||
* | Get rid of warning when defining an LWRPjk/remove_lwrp_warning | John Keiser | 2015-06-23 | 2 | -20/+15 |
| | |||||
* | Merge pull request #3564 from chef/mcquin/maintainer-request | Thom May | 2015-06-23 | 2 | -0/+2 |
|\ | | | | | Proposal to (re-)add myself as a core chef maintainer. | ||||
| * | Proposal to (re-)add myself as a core chef maintainer.mcquin/maintainer-request | Claire McQuin | 2015-06-22 | 2 | -0/+2 |
| | | |||||
* | | Merge pull request #3562 from coderanger/patch-2 | Jay Mundrawala | 2015-06-22 | 1 | -0/+4 |
|\ \ | |/ |/| | Re-add #priority. | ||||
| * | Use the right call. | Noah Kantrowitz | 2015-06-19 | 1 | -1/+1 |
| | | | | | | set_priority_array is the right thing for this. | ||||
| * | Re-add #priority. | Noah Kantrowitz | 2015-06-19 | 1 | -0/+4 |
| | | | | | | Possible fix for https://github.com/chef/chef/issues/3561. | ||||
* | | Merge pull request #3538 from chef/jdm/fix-audit-excep | Jay Mundrawala | 2015-06-22 | 2 | -25/+47 |
|\ \ | | | | | | | Exceptions for audits should only get wrapped if audit mode is enabled | ||||
| * | | Fixup spec to only expect wrapped exception when audit mode is enabledjdm/fix-audit-excep | Jay Mundrawala | 2015-06-19 | 1 | -19/+35 |
| | | | |||||
| * | | Exceptions for audits should only get wrapped if audit mode is enabled | Jay Mundrawala | 2015-06-16 | 1 | -6/+12 |
| | | | |||||
* | | | Merge pull request #3555 from joemiller/joemiller-openbsd-lt | Joshua Timberman | 2015-06-20 | 2 | -0/+14 |
|\ \ \ | |_|/ |/| | | add Joe Miller as LT for OpenBSD | ||||
| * | | add Joe Miller as LT for OpenBSD | joe miller | 2015-06-18 | 2 | -0/+14 |
| | | | |||||
* | | | Pointing kitchen-tests back at kitchen-ec2 master because I fixed my bad ↵ | tyler-ball | 2015-06-19 | 1 | -1/+1 |
| | | | | | | | | | | | | require (was using the sdk v1 require when we no longer include the sdk v1 gem) | ||||
* | | | Merge pull request #3554 from ranjib/fix_deps | Thom May | 2015-06-19 | 2 | -0/+50 |
|\ \ \ | | | | | | | | | Add missing require statement in resource_resolver | ||||
| * | | | add specs for resource_resolver | Ranjib Dey | 2015-06-18 | 1 | -0/+49 |
| | | | | |||||
| * | | | add missing require statement | Ranjib Dey | 2015-06-18 | 1 | -0/+1 |
| | | | |