Information Technology Reference
In-Depth Information
Search for Community Cookbooks Using Knife Cookbook
Site
You can use the
knife cookbook site search
command to search the Chef Supermarket
for cookbooks. You will need to specify a search string as a parameter.
knife cookbook
site
will search the following fields in the cookbook metadata at Chef Supermarket:
▪ name
▪ URL
▪ description
▪ maintainer
The
knife cookbook site
plugin will perform simple substring matching using your
search string. Try it now with a
chef-client
query:
$
knife cookbook site search chef-client
chef:
cookbook: http://cookbooks.opscode.com/api/v1/cookbooks/chef
cookbook_description: Installs and configures Chef for chef-client and
chef-server
cookbook_maintainer: chef
cookbook_name: chef
chef-client:
cookbook: http://cookbooks.opscode.com/api/v1/cookbooks/
chef-client
cookbook_description: Manages client.rb configuration and chef-client service
cookbook_maintainer: chef
cookbook_name: chef-client
...
There's also a related
knife cookbook site show
command to display more detailed in-
formation about a cookbook, when you can provide a cookbook name. Try it now for the
chef-client
cookbook:
$
knife cookbook site show chef-client
average_rating:
category: Other
created_at: 2010-12-16T23:00:45.000Z