Changed topic to be more relevant..

Agreed, saltstack is wonderful.. we're using it in combination with Atlassian Bamboo with a similar outcome, we push a release button for a specific workflow, and salt takes care of all the steps;

* Compile stack components into deb packages (for example freeswitch, backend web applications etc) and place on local mirror
* Performs unit test in the build steps
* Fire up a bare instance with salt taking care of installation and ensuring services are running
* SIP balancer (freeswitch) moves traffic between the switch instances to allow for rapid release fail over, and a real staging environment.. if there is a problem with a release, we can quickly switch back to the previous release at the LB.. if there is no problem, the old release instance is terminated
* Traffic balancer takes care of moving traffic between the API/MySQL instances
* Stack runs uwsgi/django/nginx/freeswitch
* We use new relic / pingdom / cacti for monitoring
* Code is kept in GIT

I'm still not entirely happy with the overall procedure and always looking for new/better ways to improve it.. but SaltStack is a clear winner, leaving puppet/chef in it's dust.

Cal

On Wed, Mar 13, 2013 at 4:38 AM, Gabriel Gunderson <gabe@gundy.org> wrote:
On Tue, Mar 12, 2013 at 6:44 AM, Cal Leeming [Simplicity Media Ltd]
<cal.leeming@simplicitymedialtd.co.uk> wrote:
> The second problem is that the build resulted in nearly 100 different *.deb
> files This also poses somewhat of an annoyance in automated deployment
> environments, for example saltstack, where the configuration would have to
> list each individual FreeSWITCH module.

Off topic a bit, but it's great to see another Salt user. We have our
stuff built-out to the point where we pull the trigger on the Salt
Master and 30 mins later we have a full stack (12+ systems depending
on how we configure it) of load balanced and highly available servers
running FreeSWITCH, OpenSIPS, nginx, HAProxy, Django, PostgreSQL,
UWSGI, Postfix, etc. --all layered on top of freshly built virtual
hosts running kvm/libvirt under Ubuntu 12.04 LTS (except for FS, it
runs on iron). I almost get goosebumps when it's done running.

I know you all do this kinda stuff all day long, but still, I can have
my fun too, right?

Long live Salt!

:)

Gabe

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org