Just taken another look at the gist you posted.<div><br></div><div>The approach used there is using saltstack as a persistent build system, where it performs a source install. This isn&#39;t the cleanest way to do things, firstly because it requires building on production machines, and second because anything other than a package install is not a great idea when using these sorts of systems. Instead you should be installing as a system package (either from an existing mirror, or a local mirror). </div>
<div><br></div><div>The salt states we&#39;ve created are specific to our deployment, it uses a single custom built Debian package [1] . In our instance, we have three different types of FS deployment - MS/MG/SBC. Each one of those `require` the above, and then we copy in an XML configuration to the freeswitch conf dir. However because we&#39;re using mod_xml_curl, we literally only need one or two files copied in, the rest is taken care of by mod_xml_curl. For that reason alone, any salt examples I provided would be completely incompatible.</div>
<div><br></div><div>Ideally what someone needs to do is build a Salt state dir which reflects the original Debian packages created by the FS build system. Given the multiple ways that FS can be configured, I don&#39;t think it would be worth attempting to provide pre-written templates for it. Instead, just a basic example which can be extended off would be sufficient. If enough people show interest for this, I might be able to find time to do this (though I&#39;m already behind on various other FS contributions :/ )</div>
<div><br></div><div>Cal</div><div><br></div><div>[1] <a href="https://github.com/foxx/freeswitch-debian">https://github.com/foxx/freeswitch-debian</a></div><div><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 2:46 PM, Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Cal, can you share a salt install file for FreeSWITCH?<div><br></div><div>Perhaps as a community, we can keep it up to date...</div>
<div><br></div><div>Here&#39;s something I came up with a while ago: <a href="https://gist.github.com/avimar/3297645" target="_blank">https://gist.github.com/avimar/3297645</a> but I think I had an issue with permissions (they took too long to reapply?) and also it was before the stable branch, so that has to be added...</div>


<div><br></div><div>I likely need it again for a new project, so if we have something up, I can test with fresh eyes and probably contribute back to it.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div dir="ltr">
<span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small"><br>

</span></div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi Marcus</span><br>BestFone</div></div></font></span><div><div class="h5"><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 4:05 PM, Cal Leeming [Simplicity Media Ltd] <span dir="ltr">&lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>It could be that I am slightly biased because I absolutely hate Ruby, and have a passionate love for Python.</div>


<div><br></div><div>Personally, I felt that that both Chef and Puppet had been over-engineered to an extent, and did not feel comfortable with the syntax or layout at all.</div>
<div><br></div><div>Then came along SaltStack, it supports Jinja templates (which is lovely), it&#39;s feature set is implemented cleanly for the most part, and it feels &#39;right&#39;.</div><div><br></div><div>I&#39;m sure a more experienced person than myself could spend hours explaining the subtle differences, but in my own opinion, SaltStack meets my expectations of what CM and assisted CI should really be.</div>


<span><font color="#888888">
<div><br></div><div>Cal</div></font></span><div><div><div><br><div class="gmail_quote">On Thu, Mar 14, 2013 at 6:36 AM, Henry Huang <span dir="ltr">&lt;<a href="mailto:red.rain.seven@gmail.com" target="_blank">red.rain.seven@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,51)">It&#39;s the first time I hear about SaltStack. Can you briefly explain why is it better than Puppet or Chef. I would pick Chef out of the 2 because it&#39;s using Ruby natively and is being adapted by Amazon AWS. So if you ever need some kind of hybrid architecture to run production or development servers on AWS, you will spend minimal effort for deploying those given that you can reuse your Chef cookbooks.<span><font color="#888888"><br>




<br></font></span></div><span><font color="#888888"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,51)">Henry<br></div></font></span></div><div>
<div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 13, 2013 at 10:47 PM, Gabriel Gunderson <span dir="ltr">&lt;<a href="mailto:gabe@gundy.org" target="_blank">gabe@gundy.org</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Mar 13, 2013 at 7:59 AM, Cal Leeming [Simplicity Media Ltd]<br>
&lt;<a href="mailto:cal.leeming@simplicitymedialtd.co.uk" target="_blank">cal.leeming@simplicitymedialtd.co.uk</a>&gt; wrote:<br>
&gt; I&#39;m still not entirely happy with the overall procedure and always looking<br>
&gt; for new/better ways to improve it.. but SaltStack is a clear winner, leaving<br>
&gt; puppet/chef in it&#39;s dust.<br>
<br>
Sounds like you&#39;re getting close to being happy :)<br>
<br>
When we do some Salt Modules and States specific to OpenSIP and<br>
FreeSWITCH, we&#39;ll be sure to open source them.<br>
<br>
Happy hacking!<br>
<br>
<br>
Gabe<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>