summaryrefslogtreecommitdiff
path: root/lib/chef/resource_builder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Only warn about potentially duplicate properties during the resource initializerjk/reduce-property-dup-warningJohn Keiser2015-12-141-2/+9
|
* extract declare_resource to a mixin and extend APILamont Granquist2015-12-011-5/+5
| | | | | | | - extract to its own mixin so it can be included without method_missing and the rest of the resources DSL - add ability to inject different run_context - add ability to create_if_missing into the resource_collection
* Toss an error if a resource without a resource_name is createdJohn Keiser2015-06-011-0/+7
|
* Add comments, fix faulty ||=John Keiser2015-02-171-1/+1
|
* fix warning outputlcg/warnfixLamont Granquist2015-02-041-1/+1
| | | | | When this got extracted into its own class `self` no longer outputs the resource which is being built.
* Skip 3694 warnings on trivial resource cloningLamont Granquist2015-01-121-0/+137
Turns the 3694 warning into a debug message if the prior resource is identical to the current resource. Suggestion for opscode/chef-rfc#76 This also moves resource building out to its own class.