Configuration Management Guide
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Configuration Management 101

This is a complement to the Getting Started with Configuration Management series I wrote for DigitalOcean's community.

This repository contains the code examples from the configuration management tools Ansible, Puppet and Chef. It uses Vagrant to demonstrate these tools in practice.


To run these examples, you will need:

For the Ansible example, it is also necessary to install Ansible on the host machine.


Clone this repository with:

git clone

Choose the tool you want to test. Go to the directory and run vagrant up:

cd ansible
vagrant up

After the virtual machine is up and running, the provisioning process will start, and you will be able to follow the output in your terminal.

If you want to play around with the provisioning scripts, do the modifications and then run:

vagrant provision

This will execute the provisioning again and apply your changes. If you want to start from scratch, you should destroy the VM with:

vagrant destroy

And after that you can run vagrant up again to start from scratch.