rcbops/magento-formula — pull request #3 by absalon-james (2014-11-13 22:44:02+00:00)
Title: Adding master-slave MySQL backend and haproxy for database reads.

- The master db instance should have the role of db-master
- The slave db instance should have the role of db-slave

Reorganized structure in a way that made more sense.

Also fixed some issues:
- Added runner.sls - meant to be used with salt-run state.sls.
Orchestrates the ordering of master, slave, and auto
restarting services of lsyncd once all web heads are up.
- renamed role 'haproxy' to 'web-haproxy'. Might need
an haproxy for db in the future.
- file.absenting of /etc/apache2/sites-enabled/000-default
- moved /etc/apache2/sites-enabled/default to sites-available
- made symlink of above in sites-enabled