Book Image

Configuration Management with Chef-Solo

By : Naveed ur Rahman
Book Image

Configuration Management with Chef-Solo

By: Naveed ur Rahman

Overview of this book

Table of Contents (13 chapters)

Downloading recipes


Let's download a few recipes on a test environment and execute them with Chef-Solo.

First, we'll make a folder named cookbooks and download the Nginx recipe to execute. As we have already installed Chef-Solo in our working environment, use the following command to create a folder named cookbooks:

$ mkdir cookbooks && cd cookbooks
$ git clone https://github.com/opscode-cookbooks/nginx

Git provides two methods to download repositories to a local storage. We can use Git and/or https protocol to clone the repository. Our main objective is to place cookbooks under the cookbooks directory.