Problem running site-cookbooks with chef-solo


Chronological Thread 
  • From: Paul Battley <pbattley@gmail.com>
  • To: chef@lists.opscode.com
  • Subject: Problem running site-cookbooks with chef-solo
  • Date: Wed, 13 May 2009 17:50:51 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=pHxF9VbM7sTdipWpwBRXfT/4qUanj9kiB7odu86mcZCMqgb6iLRzgIjBZ3uFIVnzG6 gKorXfCVTyFEuIrtz5wDb9gTFmuVDOkSEuBdyHopOyrs79j/OQGlq3Cn01SD8C/SrkJG /34kY8YDPJLbbTCmKiGQH+fDoXwyVGTqtskMU=

I've put together a little package to let me bootstrap an EC2 machine
and install software using Chef; the repository is at

 http://github.com/threedaymonk/chef-ec2

My solo.rb contains the line

 cookbook_path ["/etc/chef/recipes/cookbooks",
"/etc/chef/recipes/site-cookbooks"]

but I can't get Chef to find any recipes I put in site-cookbooks. If I
create them in cookbooks, they work fine. Otherwise, it just says:

 Cannot find a cookbook named blah

I must be missing something straightforward, but I can't work out what
it is. What am I doing wrong?

Thanks,
Paul.



Archive powered by MHonArc 2.6.16.

§