# File lib/chef/run_context.rb, line 56 def load(run_list_expansion) load_libraries load_lwrp_providers load_lwrp_resources load_attributes load_resource_definitions # Precendence rules state that roles' attributes come after # cookbooks. Now we've loaded attributes from cookbooks with # load_attributes, apply the expansion attributes (loaded from # roles) to the node. @node.apply_expansion_attributes(run_list_expansion) run_list_expansion.recipes.each do |recipe| # TODO: timh/cw, 5-14-2010: It's distasteful to be including # the DSL in a class outside the context of the DSL include_recipe(recipe) end end