# Specifying repository for knife cookbook site install

**URL:** <https://discourse.chef.io/t/specifying-repository-for-knife-cookbook-site-install/3215>\
**Category:** Chef Infra (archive)\
**Created:** [October 22, 2012, 5:33pm UTC](https://discourse.chef.io/t/specifying-repository-for-knife-cookbook-site-install/3215 "2012-10-22T17:33:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Storey](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@Jeff\_Storey](https://discourse.chef.io/u/Jeff_Storey)\
**Post date:** [October 22, 2012, 5:33pm UTC](https://discourse.chef.io/t/specifying-repository-for-knife-cookbook-site-install/3215/1 "2012-10-22T17:33:26Z")

</div>

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](https://github.com/opscode/cookbooks)) repository, rather than the one that is  
split up ([https://github.com/opscode-cookbooks](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](http://cookbooks.opscode.com/api/v1/cookbooks/7-zip)

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

---

<div class="post-metadata">

**Author:** ![Jeff\_Storey](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@Jeff\_Storey](https://discourse.chef.io/u/Jeff_Storey)\
**Post date:** [October 22, 2012, 5:53pm UTC](https://discourse.chef.io/t/specifying-repository-for-knife-cookbook-site-install/3215/2 "2012-10-22T17:53:04Z")

</div>

Scratch that, sorry. I realized the external URL is actually pointing  
to [GitHub - sneal/7-zip: Development repository for deprecated Cookbook 7-zip](http://github.com/opscode-cookbooks/7-zip), which is the right place.

On 10/22/2012 01:33 PM, [jeff.storey@nextcentury.com](mailto: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](https://github.com/opscode/cookbooks)) repository, rather than the one that is  
> split up ([https://github.com/opscode-cookbooks](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](http://cookbooks.opscode.com/api/v1/cookbooks/7-zip)
> 
> Is there a way to use the newer repositories instead of the deprecated ones?

---

<div class="post-metadata">

**Author:** ![Torben\_Knerr](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@Torben\_Knerr](https://discourse.chef.io/u/Torben_Knerr)\
**Post date:** [October 23, 2012, 9:33pm UTC](https://discourse.chef.io/t/specifying-repository-for-knife-cookbook-site-install/3215/3 "2012-10-23T21:33:38Z")

</div>

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] [GitHub - applicationsonline/librarian: Librarian - A Framework for Bundlers. Librarian-Chef is at: https://github.com/applicationsonline/librarian-chef.](https://github.com/applicationsonline/librarian)  
[2] [http://berkshelf.com/](http://berkshelf.com/)  
Am 22.10.2012 19:53 schrieb "Jeff Storey" [jeff.storey@nextcentury.com](mailto:jeff.storey@nextcentury.com):

> Scratch that, sorry. I realized the external URL is actually pointing to  
> [GitHub - sneal/7-zip: Development repository for deprecated Cookbook 7-zip](http://github.com/opscode-cookbooks/7-zip), which is the right place.
> 
> On 10/22/2012 01:33 PM, [jeff.storey@nextcentury.com](mailto: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](https://github.com/opscode/cookbooks)) repository, rather than the one that is  
> split up ([https://github.com/opscode-cookbooks](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](http://cookbooks.opscode.com/api/v1/cookbooks/7-zip)
> 
> Is there a way to use the newer repositories instead of the deprecated ones?
