CHAPTER 6

image

Working with Knife

Knife is a command line utility that comes with chef and is used to interact with the chef server which is used to manage chef. Management in chef includes many tasks.

  • Managing nodes
  • Uploading cookbooks and recipes from the local chef repository to the chef server
  • Managing roles
  • Managing environments
  • Managing cloud resources which include provisioning on AWS (Amazon Web Services), Azure, or any other cloud provider
  • Bootstrapping chef on nodes

Along with the aforementioned tasks, chef can be used to perform many other tasks which we discuss in the upcoming sections of this chapter.

Working with Knife

Knife executes ...

Get Automation through Chef Opscode now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.