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 ...