Multi-Machine Setup with Vagrant and Saltstack

Vagrant is a great way for developing and testing your configurations before deploying to real hosts. In combination with the Saltstack provisioner, you can run your salt states on virtual machines and achieve really fast iteration cycles. While the Vagrant docs give a great example for masterless quickstart with Vagrant and Saltstack, they do not elaborate on multi-machine configurations, like you are likely to encounter in bigger setups.

In this post I will present you my two-machine Vagrantfile, which can be used as a starting point for your individual setup. My example configures a master host running salt-master and one minion, which will be provisioned for running Docker.