summaryrefslogtreecommitdiff
path: root/lib/chef/run_context
Commit message (Collapse)AuthorAgeFilesLines
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-021-1/+1
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-6/+6
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* 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