O'Reilly logo

Web Development Recipes, 2nd Edition by Chris Johnson, Mike Weber, Chris Warren, Brian P. Hogan

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

Recipe 45Configuring a Virtual Machine with Puppet

Problem

Our team is adding a few new developers, and as senior members of the team we’ve been asked by our boss to help on-board them. We’ve been using a virtual machine for our day-to-day work and want to share that with the new developers. It would be nice to allow them to reset their development virtual machine without snapshots.

Ingredients

Solution

We can use Puppet and Vagrant in combination to script our virtual-machine configuration in a replicable solution.

Vagrant is a tool for building development environments that we can use to easily interface with VirtualBox without having to use its GUI. We can grab an installer from Vagrant’s website.

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