On 11/28/2012 09:53 AM, DJames wrote:
> current dev system is using passenger, but production (babystage) is
> using 3.0 version, and we have 1800+ servers (prod) that will be clients....
> is passenger the way to go still?
>
I was previously using passenger and just recently switched to using
nginx/unicorn. I like the setup a lot better - I can't really quantify
why other than the architecture of the way it does it seems better to
me, and getting passenger working was a pain under RHEL6.
General instructions here:
http://projects.puppetlabs.com/projects/1/wiki/using_unicorn
Some notes:
1) I ended up symlinking /etc/puppet to ~puppet/.puppet to fix the issue
where puppet master not running as root will not look in the right place
for it's config.
2) I couldn't find unicorn packages for RHEL - I ended up using gem2rpm
and tweaking it to build.
3) I used supervisord instead of god because I'm more familiar with it.
Again you'll likely need to build packages for it - I just updated the
spec here:
https://github.com/easel/supervisor-rpm There's a good
puppet module to manage supervisord here:
https://github.com/plathrop/puppet-module-supervisor
Thanks,
Jason