Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Configuration Management with Chef-Solo

You're reading from   Configuration Management with Chef-Solo A comprehensive guide to get you up and running with Chef-Solo.

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781783982462
Length 116 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Naveed ur Rahman Naveed ur Rahman
Author Profile Icon Naveed ur Rahman
Naveed ur Rahman
Arrow right icon
View More author details
Toc

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

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image