Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Configuration Management with Chef-Solo

You're reading from   Configuration Management with Chef-Solo A comprehensive guide to get you up and running with Chef-Solo.

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781783982462
Length 116 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Naveed ur Rahman Naveed ur Rahman
Author Profile Icon Naveed ur Rahman
Naveed ur Rahman
Arrow right icon
View More author details
Toc

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", "0.0.1"
cookbook "rvm",
  :git => "https://github.com/fnichol/chef-rvm",
  :ref => "v0.7.1"
cookbook "nginx",
  :path => "/cookbooks/nginx"

Cheffile is used to download the recipes from Git or any other source. Before the execution of...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime