Information Technology Reference
In-Depth Information
deprecated: false
description: Manages client.rb configuration and chef-client service
external_url: http://github.com/opscode-cookbooks/chef-client
latest_version: http://cookbooks.opscode.com/api/v1/cookbooks/chef-client
/versions/3.7.0
maintainer: chef
...
name: chef-client
updated_at: 2014-08-13T17:18:54.109Z
...
Manage Chef Supermarket Cookbooks on Your Chef Server
Using Knife Cookbook Site
Although the search/show capabilities of knife cookbook site are helpful, you'll use this
plugin most often to download cookbooks from Chef Supermarket and upload community
cookbooks to your local Chef Server. In order to download a cookbook from Chef Supermar-
ket and upload it to your Chef Server, you must perform three steps:
1. Download the cookbook using knife cookbook site download .
2. Extract the cookbook package with tar.
3. Upload the cookbook using knife cookbook upload .
4. Repeat steps 1-3 for any cookbook dependencies.
Let's go through this process now for the chef-client cookbook. Download the chef-cli-
ent with knife cookbook site download as follows:
$ knife cookbook site download chef-client 3.7.0
Downloading chef-client from the cookbooks site at version 3.7.0 to
/Users/misheska/learningchef/chef-repo/chef-client-3.7.0.tar.gz
Cookbook saved: /Users/misheska/learningchef/chef-repo/chef-client-3.7.0.tar.gz
Search WWH ::




Custom Search