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.
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 to set up the machine? The main difference is Vagrant can contain only abstract-level tasks, and all activities can be performed in a box, but Chef-Solo has the ability to manage the whole machine. Also, Vagrant is designed to handle virtual machines...