Introduction to Configuration Management for Vagrant

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:05
    with Emma Jane Westby
  • 0:08
    Up to this point we've
  • 0:10
    been doing a lot of little pieces by hand, which force us
  • 0:14
    to reconfigure the box or restart services.
  • 0:17
    And let's face it.
  • 0:18
    It's getting pretty annoying, isn't it?
  • 0:21
    This is where configuration management comes in.
  • 0:24
    In this lesson, we're going to cover an overview
  • 0:27
    of configuration management.
  • 0:29
    We're going to look at different tools
Loading ...

Introduction to Configuration Management for Vagrant


Configuring new servers by hand is tedious and prone to error. Instead of running all the installationa commands by hand to customize our Vagrant setup, we'll use a configuration management (CM) tool to automate this process for us. CM allows system administrators to establish rules which maintain the software installed on one or many computer systems. By automating the setup of a server, configuration management ensures there are no inconsistencies between machines. It also makes it faster for your to create a virtual environment without having to manually install a Web server, like we did in a previous lesson.

Lesson Outcomes

By the end of this lesson, you will be able to explain how configuration management relates to virtual machines, and why you would want to use a configuration management tool to provision new virtual machines.

Lesson Summary

  • Vagrant is a wrapper which creates virtual development environments from base boxes. It acts as a wrapper around a provider, such as VirtualBox, and configuration management software, such as Chef.
  • Configuration Management: Configuration management is a process which allows system administrators to establish and maintain consistency of a computer system throughout its life against a specified set of rules. Configuration management enables consistency across one, or many, machines.
  • Popular open source configuration management tools supported by Vagrant include: Puppet, Chef, and Ansible. Chef tends to be popular among Drupal developers. Puppet tends to be popular among system administrators (who are not necessarily Web developers first-and-foremost).
  • Provisioning is the process of creating, or altering, a system in order to prepare it for service.
  • Vagrant allows you to use one or more configuration management tools from the same Vagrantfile to provision a machine; as well as use shell scripts.