# File lib/chef/mixin/language_include_recipe.rb, line 25 def include_recipe(*recipe_names) result_recipes = Array.new recipe_names.flatten.each do |recipe_name| if node.run_state[:seen_recipes].has_key?(recipe_name) or node.run_state[:seen_recipes].has_key?(recipe_name + "::default") Chef::Log.debug("I am not loading #{recipe_name}, because I have already seen it.") next end result_recipes << load_recipe(recipe_name) end result_recipes end