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)

Prerequisites of Chef-Solo


We already discussed about installation setups for Chef-Solo. If you are using the Omnibus method, you don't need to worry about any dependencies. However, for installation as a Ruby gem or package management, please ensure that the following packages are installed on your machine.

Use the following command to install the required packages:

$ sudo apt-get install Ruby1.9.3 build-essential

For Omnibus, make sure curl is installed on your machine:

$ sudo apt-get install curl

Tip

curl is a command-line tool for transferring data with URL syntax. It supports various protocols including HTTP, FTP, and FTPS.

Some dependencies for Berkshelf are as follows:

$ sudo apt-get install libxslt-dev libxml2-dev openssl zlib1g

To ensure that Chef-Solo installs correctly, go to the terminal and write the following command:

$ chef-solo -v

The preceding command will display the Chef version as shown in the following screenshot: