Assumes VMs exist named:
- web1
- web2 (shutdown)
- mysql1
- balancer1
mkdir /srv/forumlas
cd /srv/formulas
git clone https://github.com/saltstack-formulas/apache-formula.git
git clone https://github.com/saltstack-formulas/haproxy-formula.git
git clone https://github.com/saltstack-formulas/mysql-formula.git
git clone https://github.com/saltstack-formulas/php-formula.git
cp master.d/* /etc/salt/master.d/
systemctl restart salt-master
cp pillars/* /srv/pillar
cp -r states/* /srv/salt/
salt-run state.orchestrate orch.stackdeploy
ab -t 600 -n 1000000 -c 100 IP-OF-balancer1
salt-run state.orchestrate orch.patch-web 'pillar={"target":"web1"}'
(Announced at saltconf16 Proper compliance reporting project: [http://hubblestack.io/])
salt '*' coalfire.report --output newline_values_only > /tmp/report.csv