[LRUG] puppet or chef [was: availability of talks]
mudge
mudge at mudge.name
Thu Aug 18 23:44:57 PDT 2011
Good morning Vik,
The only thing Ubuntu/Debian-specific about my RVM pattern (see
https://github.com/mudge/managing_web_application_servers_with_puppet/blob/master/example/manifests/mcp.pp#L47-107
) is the list of RVM dependencies (as package names vary between
operating systems).
You can get the list of RVM dependencies for your package manager by
using `rvm notes` on a system or, alternatively, by looking at the
source of the `notes` command at
https://github.com/wayneeseguin/rvm/blob/master/scripts/notes
For example, if you wanted to provision a CentOS box (assuming it uses
`yum` and has the EPEL repository enabled), you'd need to tweak the
`rvm-dependencies` package resource to something like the following:
package { 'rvm-dependencies':
ensure => installed,
name => [
'bash',
'curl',
'git',
'libxslt',
'gcc-c++',
'patch',
'readline',
'readline-devel',
'zlib',
'zlib-devel',
'libyaml-devel',
'libffi-devel',
'openssl-devel',
'make',
'bzip2'
],
}
And the rest should work.
On Thu, Aug 18, 2011 at 11:50 PM, Viktor Tron <viktor.tron at gmail.com> wrote:
> Hello list,
>
> First of all thanks to Paul and Gareth for this material, great timing for
> me.
>
> I set up a vagrant box (well, a long story in itself :) and started playing
> with provisioning.
> After I read this http://bitfieldconsulting.com/puppet-vs-chef, I started
> with puppet.
>
> 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
>
> After I found this impressive piece of work
> https://github.com/fnichol/chef-rvm
> I am considering switching to Chef.
>
> 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
> - if you use public recipes/modules, how do you manage their updates?
> - any pointers to good resources for your typical rails stack using
> puppet/chef would be fab
>
> thanks a lot
>
> Vik
>
>
> On Thu, 11 Aug 2011 17:10:03 +0100, gareth rushgrove
> <gareth.rushgrove at gmail.com> wrote:
>
>> On 9 August 2011 10:23, mudge <mudge at mudge.name> wrote:
>>>
>>> Good morning all,
>>>
>>> Seems Skills Matter wasted no time and both talks are now available
>>> online: http://skillsmatter.com/podcast/home/lrug-puppet and
>>> http://skillsmatter.com/podcast/home/chef-vagrant
>>>
>>> You can find my slides at
>>> http://mudge.github.com/managing_web_application_servers_with_puppet/
>>> and a fully worked example of using Vagrant and Puppet at
>>>
>>> https://github.com/mudge/managing_web_application_servers_with_puppet/tree/master/example
>>>
>>
>> I've also got round to posting my slides:
>>
>>
>> http://morethanseven.net/2011/08/11/Talking-configuration-management-vagrant-and-chef-at-lrug.html
>>
>> Any questions as well just shout.
>>
>> Gareth
>>
>>> Please don't hesitate to ask if you have any questions and I hope you
>>> find the talk informative.
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
More information about the Chat
mailing list