[LRUG] puppet or chef [was: availability of talks]

Viktor Trón viktor.tron at gmail.com
Mon Aug 22 04:26:41 PDT 2011


thanks a lot George

On Fri, Aug 19, 2011 at 11:36 AM, George Ornbo <george at shapeshed.com> wrote:

> On Thu, Aug 18, 2011 at 11:50:28PM +0100, Viktor Tron wrote:
> > I need to build a complicated stack including rvm, which already broke
> me:
> >
> > since Paul's example is ubuntu specific, the closest generic recipe
> > I found was this:
> > https://github.com/blt04/puppet-rvm, which
> >
> > - requires puppet > 2.6.7 which is not packaged for ubuntu 11.04
> > - needs puppet to run twice
> > - and in general looks quite idiosyncratic to use
>
> I wouldn't install puppet through aptitude. Better to use RubyGems. If
> you need to bootstrap a server there are a few bash scripts around. You
> can use / modify one I wrote if you like
>
> https://gist.github.com/913526
>

yes, id find it wierd to bootstrap ruby and rubygems in order to install
puppet in
order to set up ruby via rvm. kind of same with chef which installed 40!
packages on
my basebox just to get a client...

i am not sure why the provisioners can not automatically manage their own
install.



>
> That said if Chef works for you should use it - they are both excellent.
>
> > I would love to hear pros and cons (mainly from a rails perspective)
> > in particular:
> >
> > - do you use your provision agent for deployment? which allows for
> > better management of rake tasks, cron, db privileges, etc
>
> I use capistrano but cron, db privileges go into puppet.
>
> > - if you use public recipes/modules, how do you manage their updates?
>
> Git submodules
>
> can you tell me more?


> > - any pointers to good resources for your typical rails stack using
> > puppet/chef would be fab
>
> There a good debate to be had as to where things sit between puppet and
> bundler. I prefer to push the server (unicorn in my case) to be
> installed with bundler and the app as I find it easier to upgrade than
> passenger. I use puppet-rvm and the nginx module to set up Ruby and the
> site and then use puppet to manage users, monitoring and firewall.
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20110822/ce3291b0/attachment.html>


More information about the Chat mailing list