Chapter 2. Knife and Its Associated Plugins

We learned about the Chef ecosystem in the last chapter and, as we saw, Knife is one of those tools that we'll be using the most while doing development. In this chapter, we'll look at the internals of Knife and we'll also see different plugins, which will make your life a lot easier while managing your infrastructure using Chef.

Introducing Knife

Knife is a command-line tool that comes bundled with the Chef installation. Depending upon how Chef was installed, you may find the binary at any particular location on your workstation. Since I have installed Chef using rvm and gem packaging, it is found at ~/.rvm/gems/ruby-2.1.0/gems/chef-11.8.2/bin/knife.

Depending upon your setup, you may find it at some other ...

Get Mastering Chef 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.