A cookbook is the fundamental unit of configuration and policy distribution in Chef Infra. Each cookbook defines a scenario, such as everything needed to install and configure PostgreSQL, and then it contains all of the components that are required to support that scenario.
Interact with cookbooks by using the knife cookbook
commands.
With knife cookbook
, you can create, delete, show, list,
download and upload cookbooks on your Chef Infra Server. Read the knife cookbook commands documentation for more information.
In order to share and interact with cookbooks on Supermarket, use the
knife supermarket
commands. The documentation for knife supermarket
explains how to
download, share, unshare, search, install and list cookbooks on Supermarket.
You can also interact with the Supermarket API directly.
Select a cookbook from the list of adoptable cookbooks and click the "Adopt me!" button.