There are a lot of good tutorials out there about all kinds of system setup stuff. However, it’s quite cumbersome and time consuming to go through them and actually set up systems by following them. Also, you have to figure out the correct operating system version etc.

By providing Vagrantfiles or Dockerfiles (or both) with the tutorial steps encapsulated as either Chef, Puppet or even simple bash scripts people can start using the system they intend to deploy or try out and don’t have to waste time copy/pasting. All the important version info is encapsulated the same way as the tutorial intended, so it will almost certainly work.

To get started, check out examples on github by searching for Vagrantfile or Dockerfile.

So next time you write up how something works (e.g. installing your favourite new database or your new webapp), just provide the Vagrantfile and add useful comments.

Related Posts