Specifying repository for knife cookbook site install


#1

I’m using knife cookbook site install to install cookbooks, but it looks like
that command is still using the old, deprecated cookbooks
(https://github.com/opscode/cookbooks) repository, rather than the one that is
split up (https://github.com/opscode-cookbooks).

When I ran knife site cookbook site list -w, I got output that looked like:

7-zip: http://cookbooks.opscode.com/api/v1/cookbooks/7-zip

Is there a way to use the newer repositories instead of the deprecated ones?


#2

Scratch that, sorry. I realized the external URL is actually pointing
to github.com/opscode-cookbooks/7-zip, which is the right place.

On 10/22/2012 01:33 PM, jeff.storey@nextcentury.com wrote:

I’m using knife cookbook site install to install cookbooks, but it looks like
that command is still using the old, deprecated cookbooks
(https://github.com/opscode/cookbooks) repository, rather than the one that is
split up (https://github.com/opscode-cookbooks).

When I ran knife site cookbook site list -w, I got output that looked like:

7-zip: http://cookbooks.opscode.com/api/v1/cookbooks/7-zip

Is there a way to use the newer repositories instead of the deprecated ones?


#3

FYI: you also might want to look at librarian [1] or berkshelf [2] for
cookbook dependency management if you don’t know them already…

[1] https://github.com/applicationsonline/librarian
[2] http://berkshelf.com/
Am 22.10.2012 19:53 schrieb “Jeff Storey” jeff.storey@nextcentury.com:

Scratch that, sorry. I realized the external URL is actually pointing to
github.com/opscode-cookbooks/7-zip, which is the right place.

On 10/22/2012 01:33 PM, jeff.storey@nextcentury.com wrote:

I’m using knife cookbook site install to install cookbooks, but it looks like
that command is still using the old, deprecated cookbooks
(https://github.com/opscode/cookbooks) repository, rather than the one that is
split up (https://github.com/opscode-cookbooks).

When I ran knife site cookbook site list -w, I got output that looked like:

7-zip: http://cookbooks.opscode.com/api/v1/cookbooks/7-zip

Is there a way to use the newer repositories instead of the deprecated ones?