- From: Seth Chisamore <
>
- To:
- Cc:
- Subject: [chef] Re: Re: chef, CentOS/RedHat, and rubygem-rest-client updates
- Date: Fri, 25 Mar 2011 10:42:32 -0400
And beware CentOS's env_reset in the default /etc/sudoers file. More here:
http://wiki.opscode.com/display/chef/User+Environment+PATH+Sanity
Basically if you run "sudo chef-client" data will not be collected by Ohai
correctly. This can easily be remedied by running "chef-client" as root...or
having a custom "/etc/sudoers" file.
Seth
--
Opscode, Inc.
Seth Chisamore, Technical Evangelist
T: (404) 348-0505 E:
Twitter, IRC, Github: schisamo
On Friday, March 25, 2011 at 10:37 AM, John E. Vincent (lusis) wrote:
>
Michael,
>
>
There are tons of us who are using chef-client on CentOS5. The trick,
>
which may not be documented cleanly in the wiki, is to use a custom
>
bootstrap file. Don't rely on any packaged RPMs of chef-client. The
>
server component is a bit more work.
>
>
One thing you'll find, however, is that most/many of the cookbooks are
>
designed around ubuntu. You'll spend a good bit of time working to
>
massage those into a RHEL/CentOS world view.
>
>
If you need any advice/tips, I'm usually on IRC during the day and can
>
throw a few gists/github repos your way to help out.
>
>
Just look for 'lusis' in #chef.
>
>
On Fri, Mar 25, 2011 at 8: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
- [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: chef, CentOS/RedHat, and rubygem-rest-client updates, KC Braunschweig, 03/25/2011
Archive powered by MHonArc 2.6.16.