Chef::Exceptions::RecipeNotFound


#1

Wow…and I mean wow!!!

================================================================================
Recipe Compile Error

================================================================================

Chef::Exceptions::RecipeNotFound

could not find recipe redis_queue_monitor for cookbook codebase

my recipe is on the server!!!

/var/scale-chef/chef-repo/site-cookbooks/codebase# ls
redis_queue_monitor.rb

So…,what is the deal with chef solo…the recipe is there and it cant be
found?

What am I missing?


#2

Hi David,

are you referencing the codebase cookbook from another cookbook?

If so, do you have it declared as a dependency in metadata.rb?

HTH,
Torben

On Fri, May 29, 2015 at 7:11 AM, David Montgomery <davidmontgomery@gmail.com

wrote:

Wow…and I mean wow!!!

================================================================================
Recipe Compile Error

================================================================================

Chef::Exceptions::RecipeNotFound

could not find recipe redis_queue_monitor for cookbook codebase

my recipe is on the server!!!

/var/scale-chef/chef-repo/site-cookbooks/codebase# ls
redis_queue_monitor.rb

So…,what is the deal with chef solo…the recipe is there and it cant be
found?

What am I missing?


#3

Nope…not referencing in any other cookbook

On Fri, May 29, 2015 at 1:17 PM, Torben Knerr mail@tknerr.de wrote:

Hi David,

are you referencing the codebase cookbook from another cookbook?

If so, do you have it declared as a dependency in metadata.rb?

HTH,
Torben

On Fri, May 29, 2015 at 7:11 AM, David Montgomery <
davidmontgomery@gmail.com> wrote:

Wow…and I mean wow!!!

================================================================================
Recipe Compile Error

================================================================================

Chef::Exceptions::RecipeNotFound

could not find recipe redis_queue_monitor for cookbook codebase

my recipe is on the server!!!

/var/scale-chef/chef-repo/site-cookbooks/codebase# ls
redis_queue_monitor.rb

So…,what is the deal with chef solo…the recipe is there and it cant
be found?

What am I missing?


#4

It is not in the recipes directory of your cookbook (which seems not to be a cookbook at all as there's no metadata.rb nor any structure of a cookbook)

Le 29 mai 2015 07:11, David Montgomery <davidmontgomery@gmail.com> a écrit :

Wow.........and I mean wow!!!!!!!!!!!!!

================================================================================

Recipe Compile Error

================================================================================

Chef::Exceptions::RecipeNotFound


could not find recipe redis_queue_monitor for cookbook codebase

my recipe is on the server!!!

/var/scale-chef/chef-repo/site-cookbooks/codebase# ls

redis_queue_monitor.rb

So…,what is the deal with chef solo…the recipe is there and it cant be found?

What am I missing?