# grab this repo
git clone https://github.com/benschw/borg-demo-vagrant.git
cd borg-demo.git
# clone the demo application
git clone https://github.com/benschw/borg-demo.git
# clone puppet dependencies and provision the demo cluster
./deps.sh
vagrant up
# configure consul and the mysql master database on "dc0"
vagrant ssh infra00
/vagrant/consul.sh
/vagrant/mysql-master.sh
exit
# configure consul and the mysql slave database on "dc1"
vagrant ssh infra10
/vagrant/consul.sh
/vagrant/mysql-slave.sh
exit