May 2017
Intermediate to advanced
726 pages
15h 38m
English
Cookbooks are an essential part of Chef. You can easily create them using the Chef executable installed by the Chef DK. In this recipe (and many of the following recipes), I will assume that you're using a Chef server to manage your infrastructure. You can either set up your own cookbook or use the hosted Chef as described previously. You'll use the command-line tool knife to interact with the Chef server.
In this recipe, we'll create and apply a simple cookbook using the Chef and knife command-line tools.
Make sure you have Chef DK installed and a node available for testing. Check out the installation instructions at http://learn.chef.io if you need help here.
Edit your knife.rb file (usually found in the ...
Read now
Unlock full access