class ChefApply::Action::GenerateTempCookbook::RecipeLookup::RecipeNotFound

Public Class Methods

new(cookbook_path, recipe_name, available_recipes, cookbook_name) click to toggle source
Calls superclass method ChefApply::Error::new
# File lib/chef_apply/action/generate_temp_cookbook/recipe_lookup.rb, line 114
def initialize(cookbook_path, recipe_name, available_recipes, cookbook_name)
  available_recipes.map! { |r| "'#{r}'" }
  available_recipes = available_recipes.join(", ")
  super("CHEFVAL008", cookbook_path, recipe_name, available_recipes, cookbook_name)
end