summaryrefslogtreecommitdiff
path: root/lib/chef/provider_resolver.rb
Commit message (Collapse)AuthorAgeFilesLines
* Memoize enabled_handlers so it is not recomputedjk/separate-priority-mapJohn Keiser2015-07-061-1/+1
|
* Re-separate priority map and DSL handler map so that provides has veto power ↵John Keiser2015-07-061-21/+25
| | | | over priority
* Code review commentsJohn Keiser2015-06-301-3/+3
|
* Optimize logic on class initialize so it doesn't fall into theJohn Keiser2015-06-301-22/+31
| | | | | | "look at all classes to see if they provide the DSL" else clause when you're just setting resource_name (which happens on every class). Perf fix for tests.
* Fix broken specsJohn Keiser2015-06-301-17/+16
|
* Call provides? when resolving, reduce number of calls to provides?John Keiser2015-06-301-43/+37
| | | | in Provider
* 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-021-1/+2
|
* Remove platform mapping from lookup, add comment about how resolution now worksJohn Keiser2015-06-021-79/+15
|
* Narrow resolvers to only look at parts of the map we supportJohn Keiser2015-06-021-57/+73
|
* Add `provides` to remaining provider resourcesJohn Keiser2015-05-131-0/+87
|
* typo fix in commentlcg/fix-provider-resolver-api-breakLamont Granquist2015-04-271-1/+1
|
* Fix API break in 12.3.0.rc.0Lamont Granquist2015-04-241-1/+3
| | | | | | | provides? on a provider was passed the full resource. provides? on a resource class cannot be passed the resource and must be passed the declared_type instead. i tried to make them the same, but that would change the API on the provider.
* Revert "Fix API break in 12.3.0.rc.0"Lamont Granquist2015-04-241-3/+1
| | | | This reverts commit 57cdbe124f63e47cab960e714572539d3979b90f.
* Fix API break in 12.3.0.rc.0Lamont Granquist2015-04-241-1/+3
| | | | | | | provides? on a provider was passed the full resource. provides? on a resource class cannot be passed the resource and must be passed the declared_type instead. i tried to make them the same, but that would change the API on the provider.
* add resource_resolver and resource_priority_mapLamont Granquist2015-04-151-5/+10
| | | | also wire them up through the Chef class.
* provider resolver perf improvementLamont Granquist2014-11-211-2/+2
| | | | | | move the sorting of the providers to after we make the first cut, still keeps deterministic ordering, but avoids sorting providers we are just going to throw away.
* polishing provider_resolverLamont Granquist2014-11-081-14/+23
| | | | | | | | * makes provides? more correct for linux services * makes supports? more targetted for linux services * remove provider_resolver from the run_context * fix timestamped deploy spec * add more specs
* add some more debug output and commentsLamont Granquist2014-11-081-2/+7
|
* Chef-12 RC Provider ResolverLamont Granquist2014-10-241-18/+64
| | | | | makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping.
* Initial sketch for provider resolverRichard Manyanza2014-10-221-0/+57