summaryrefslogtreecommitdiff
path: root/lib/chef/run_context
Commit message (Collapse)AuthorAgeFilesLines
* Raise an error when including a recipe from an unreachable cookbookdanielsdeleo2014-03-141-0/+12
| | | | | | | | | | | | | | | | | | | | Fixes CHEF-4367. When attempting to load a recipe belonging to a cookbook that is not in the run_list or any dependencies of cookbooks in the run_list, chef will now produce an error like this: Chef::Exceptions::MissingCookbookDependency ------------------------------------------- Recipe `ancient::aliens` is not in the run_list, and cookbook 'ancient' is not a dependency of any cookbook in the run_list. To load thisrecipe, first add a dependency on cookbook 'ancient' in the cookbook you're including it from in that cookbook's metadata. This error will occur when chef-solo users use `include_recipe` without specifying the dependency in metadata; prior to this patch, chef would typically fail reading an undefined attribute, which commonly would result in a NoMethodError for nil.
* Normalize whitespace on all filesSeth Vargo2013-09-261-3/+3
|
* [CHEF-3817] Fix dedupe in cookbook_order by returning dependencies as symbols.Matthew Kent2013-06-181-3/+3
| | | | And add matching spec.
* cleanup requires for lwrp base clasesdanielsdeleo2012-12-191-1/+1
|
* Extract LWRP resource code to LWRPBasedanielsdeleo2012-12-191-1/+1
|
* Extract provider LWRP code to LWRPBasedanielsdeleo2012-12-191-2/+2
|
* [CHEF-3376] Add debug logging for compile orderdanielsdeleo2012-11-301-0/+1
| | | | | | Ex: DEBUG: Cookbooks to compile: ["dependency1", "dependency2", "test-with-deps"]
* [CHEF-3376] fix incorrect doc, add more docsdanielsdeleo2012-11-301-1/+1
| | | | | * fix incorrect statement in CookbookCompiler docs * Add lots of doc to RunContext
* [CHEF-3376] remove redundant attr_accessordanielsdeleo2012-11-301-4/+4
|
* [CHEF-3376] rdoc more methods, reorganizedanielsdeleo2012-11-301-0/+1
|
* [CHEF-3376] move recipe compilation to CookbookCompilerdanielsdeleo2012-11-301-1/+26
|
* [CHEF-3376] make CookbookCompiler take a RunContextdanielsdeleo2012-11-301-16/+16
| | | | | The circular reference is not ideal, but it allows for complete extraction of all cookbook compilation into CookbookCompiler.
* [CHEF-3376] give CookbookCompiler its own filedanielsdeleo2012-11-301-0/+253