Exception: ChefApply::Action::GenerateTempCookbook::RecipeLookup::RecipeNotFound
- Inherits:
-
Error
- Object
- StandardError
- Error
- ChefApply::Action::GenerateTempCookbook::RecipeLookup::RecipeNotFound
- Defined in:
- lib/chef_apply/action/generate_temp_cookbook/recipe_lookup.rb
Instance Attribute Summary
Attributes inherited from Error
#decorate, #id, #params, #show_log, #show_stack
Instance Method Summary collapse
-
#initialize(cookbook_path, recipe_name, available_recipes, cookbook_name) ⇒ RecipeNotFound
constructor
A new instance of RecipeNotFound.
Constructor Details
#initialize(cookbook_path, recipe_name, available_recipes, cookbook_name) ⇒ RecipeNotFound
Returns a new instance of RecipeNotFound.
114 115 116 117 118 |
# 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 |