O'Reilly logo

Configuration Management with Chef-Solo by Naveed ur Rahman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Berkshelf

As we noticed in the previous chapter, it is very difficult to maintain and download the recipes one by one and keep a track of them. Chef comes with the following two plugins that help us overcome this problem:

  • Librarian-Chef
  • Berkshelf

Both are tools to manage dependent cookbooks.

Librarian-Chef is used to fetch the cookbooks from the central repository and install them using Knife. It's a bundler to resolve every dependency of an application, download, and installation. Also, it has the capability to download public and community cookbooks.

Each cookbook can contain one Cheffile and all the necessary information to download the cookbooks.

The following is an example:

site "http://community.opscode.com/api/v1" cookbook "git" cookbook "timezone", ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required