- From: Charles Duffy <
>
- To:
- Subject: [chef] Re: chef, CentOS/RedHat, and rubygem-rest-client updates
- Date: Fri, 25 Mar 2011 09:19:51 -0500
I run Chef 0.9.14 on CentOS quite happily. A few caveats:
- Upstream Ruby 1.8.7 (*not* the Enterprise Ruby equivalent) is needed for the server -- I use it everywhere, with a StackScript (my VPS provider is Linode; these are their paradigm for post-installation scriptage) installing the interpreter in /opt/ruby when my nodes are provisioned. (I also have some equivalent veewee scripts for building appropriate Vagrant baseboxes, and can publish these if desired).
- Use gems, not RPMs, for package management.
- Expect to need to modify many of the Opscode recipes.
On Fri, Mar 25, 2011 at 7:07 AM, Michael Stillwell
<
">
> wrote:
What's the status of chef on CentOS/RedHat? We've currently installed
chef as described at
http://wiki.opscode.com/display/chef/Installation+on+RHEL+and+CentOS+5+with+RPMs
but I get the feeling that chef isn't very well supported on
CentOS/RedHat. For example, the latest RPM packaged version is 0.9.8,
which is quite old, and isn't packaged by Opscode anyway. (Unlike the
Debian/Ubuntu packages.) One of its dependencies is
rubygem-rest-client (from EPEL), and this was updated to version 1.6.1
in the last day or so, which breaks chef-client 0.9.8:
# chef-client
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:827:in
`report_activate_error': RubyGem version error: rest-client(1.6.1 not
>= 1.0.4, <= 1.5.1) (Gem::LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:261:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:296:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `each'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:295:in `activate'
from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:68:in `gem'
from /usr/bin/chef-client:18
Will chef + CentOS be a viable combination in the future, or should I
look to moving to a different distribution? (Or figure out how to
install/package chef myself, which might be about as much work...)
Cheers,
Michael
--
http://beebo.org
- [chef] chef, CentOS/RedHat, and rubygem-rest-client updates, Michael Stillwell, 03/25/2011
- [chef] Re: chef, CentOS/RedHat, and rubygem-rest-client updates, Charles Duffy, 03/25/2011
- [chef] Re: chef, CentOS/RedHat, and rubygem-rest-client updates, John E. Vincent (lusis), 03/25/2011
- [chef] Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates, Seth Chisamore, 03/25/2011
- [chef] Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates, Joshua Timberman, 03/25/2011
- [chef] Re: Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates, KC Braunschweig, 03/25/2011
- [chef] Re: Re: Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates, Sean OMeara, 03/25/2011
- [chef] Re: Re: Re: Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates, Paul Choi, 03/25/2011
- [chef] Re: Re: Re: Re: Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates, John E. Vincent (lusis), 03/25/2011
- [chef] Re: Re: Re: Re: Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates, Paul Choi, 03/25/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates, Paul Choi, 03/25/2011
- [chef] Chef Server configuration settings, Joshua Timberman, 03/25/2011
Archive powered by MHonArc 2.6.16.