Information Technology Reference
In-Depth Information
>
cd %USERPROFILE%\chef-repo\cookbooks\enterprise-chef
>
kitchen destroy
>
cd %USERPROFILE%\chef-repo\cookbooks\node
>
kitchen destroy
Windows PowerShell:
>
cd $HOME\chef-repo\cookbooks\enterprise-chef
>
kitchen destroy
>
cd $HOME\chef-repo\cookbooks\node
>
kitchen destroy
NOTE
Don't forget to remove the entries for
default-centos65.vagrantup.com
and
node-
centos65.vagrantup.com
from
/etc/hosts
on Linux/Mac OS X or
%WINDIR%\system32\drivers\etc\hosts
on Windows.
Summary
In this chapter we showed you the Chef Supermarket, which is the hub of the Chef commu-
nity. We showed you how you can download cookbooks from the Chef Supermarket using
both the web interface and the command line.
We recommend using the
knife
command line tool, because it makes it easy to not only
download a community cookbook, but to upload and manage a cookbook on your Chef serv-
er so you can use it in your organization.
We presented an overview of the
chef-client
cookbook and how it is useful for configur-
ing a node after it has been bootstrapped with
chef-client
.
In the next chapter, we'll introduce you to Chef Zero, a small, fast-start, in-memory version
of Chef Server, great for local testing.