Information Technology Reference
In-Depth Information
logout
Connection to 127.0.0.1 closed.
We'll talk more about the use of the chef-client recipe later, in Chef-Client Recipes . First,
we need to talk about the knife cookbook site plugin.
Knife Cookbook Site Plugin
While the Chef Supermarket's Download Cookbook link is very helpful, you still need to up-
load the cookbook source to your Chef Server in order to use it in production. Also, although
a website is great for discovery, you'll find yourself wanting to use a command-line tool for
day-to-day community cookbook management because it is faster. All recent versions of both
the Chef Client and the Chef Development Kit ship with a cookbook site plugin for knife de-
signed to enable command-line interaction with the Chef Supermarket.
Let's walk you through the most commonly use subcommands now. Feel free to type them in
if you like. Make sure your current working directory is the chef-repo from Chapter 9 . As-
suming that the chef-repo is located in your home directory, run one of the following com-
mands, depending on your platform. Change the root path to suit where you created chef-
repo .
Linux/Mac OS X:
$ cd $HOME/chef-repo
Windows Command Prompt:
> cd %USERPROFILE%\chef-repo
Windows PowerShell:
> cd $HOME\chef-repo
Search WWH ::




Custom Search