[chef] Re: RE: cookbook yum not found


Chronological Thread 
  • From: Jesse Campbell < >
  • To: chef < >
  • Subject: [chef] Re: RE: cookbook yum not found
  • Date: Mon, 18 Feb 2013 15:26:35 -0500

what does your run list look like?
and the metadata for your cookbook that tries to use yum?

one of the breaking changes in chef 11 was that it no longer adds all recipes when running chef-solo, you have to explicitly specify that you want it in either metadata.rb or the run list
   "For Chef Solo users, the new loading logic means that files belonging to cookbooks which exist in the
   cookbook_path but are not in the expanded run_list or dependencies of the cookbooks in the
   expanded run_list will no longer be loaded"
(see about half way down the page: http://docs.opscode.com/breaking_changes_chef_11.html)

-Jesse


On Mon, Feb 18, 2013 at 3:10 PM, S Ahmed < " target="_blank"> > wrote:
Hi,

I'm running my chef-solo on ubuntu 12.04 (worked on previous versions), and I am getting this error:

Starting Chef Client, version 11.4.0
Compiling Cookbooks...
[2013-02-18T20:05:17+00:00] ERROR: Running exception handlers
[2013-02-18T20:05:17+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated
[2013-02-18T20:05:17+00:00] FATAL: Stacktrace dumped to /home/ubuntu/chef/chef-stacktrace.out
[2013-02-18T20:05:17+00:00] FATAL: Chef::Exceptions::CookbookNotFound: Cookbook yum not found. If you're loading yum from another cookbook, make sure you configure the dependency in your metadata

On thing to note, I was using chef 10.16.2 before also.

Is there a trace mode that I can figure out exactly which cookbook is giving this error?

I'm guessing some recipe has a bug in its ability to figure out I am using ubuntu (which uses apt).





Archive powered by MHonArc 2.6.16.

§