[chef] [test-kitchen] Cookbook depends on another cookbook in local repo?


Chronological Thread 
  • From: Jay Pipes < >
  • To:
  • Subject: [chef] [test-kitchen] Cookbook depends on another cookbook in local repo?
  • Date: Tue, 13 Nov 2012 22:46:19 -0500

Hi again,

I have a depends in one local cookbook's metadata.rb that refers to a
cookbook in my local filesystem, not opscode's servers. How can I inform
test-kitchen to not try to find that cookbook on Opscode's servers?

When running test-kitchen, I get this:

:~/repos/att-cloud/cookbook-nova$
 kitchen test
<snip>
Assembling required cookbooks at
[/home/jpipes/repos/att-cloud/cookbook-nova/test/kitchen/.kitchen/cookbooks].
/var/lib/gems/1.9.1/gems/librarian-0.0.25/lib/librarian/chef/source/site.rb:247:in
`cache_remote_object!': Could not get
http://community.opscode.com/api/v1/cookbooks/openstack-common because
404 Not Found! (Librarian::Error)

The openstack-common cookbook is local on my machine in
/home/jpipes/repos/att-cloud/cookbook-openstack-common.

Note that cookbook-openstack-common/metadata.rb does indeed have:

name            "openstack-common"

in it...

Thanks in advance for any hints.

Best,
-jay


  • [chef] [test-kitchen] Cookbook depends on another cookbook in local repo?, Jay Pipes, 11/13/2012

Archive powered by MHonArc 2.6.16.

§