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

Executing recipes with Vagrant

Our new machine is ready. Now, we can install Chef-Solo on it, as we discussed in the previous chapter. Even though it is a tedious task, we will cover it smoothly using Vagrant.

Vagrant allows us to automate this process with Vagrantfile. We have already created a Vagrantfile. Now, let's have a look at the file and execute a recipe with it.

The main object of the Vagrantfile is to describe the precise sort of machine needed for a particular task and to explain how to provide configurations and a set of tasks to a new machine. One project contains one Vagrantfile that has the footprint of a new machine.

Here, you might be thinking if Vagrant provides us with the basic footprint, why do we need other configuration tools ...

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