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 https://github.com/erikaheidi/cfmgmt.git
Choose the tool you want to test. Go to the directory and run
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:
This will execute the provisioning again and apply your changes. If you want to start from scratch, you should destroy the VM with:
And after that you can run
vagrant up again to start from scratch.