[chef] Re: open source chef client error


Chronological Thread 
  • From: Lamont Granquist < >
  • To:
  • Subject: [chef] Re: open source chef client error
  • Date: Tue, 03 Dec 2013 16:18:33 -0800

use omnibus.  for the time being on ubuntu 13.10 64-bit do this:

wget 'https://www.opscode.com/chef/download?v=&prerelease=false&p=ubuntu&pv=13.04&m=x86_64' -O /tmp/chef.deb && sudo dpkg -i /tmp/chef.deb

you want to get rid of /usr/local/bin/{knife,chef-client} and other chef binaries.

you probably want to '/usr/local/bin/gem uninstall chef' and '/usr/bin/gem uninstall chef'

you also should not be using ruby 1.8 and should remove those packages from your system and replace them with the ruby 1.9 ones.  you don't need the system ruby at all to run omnibus chef,
so if nothing else depends on ruby, then don't have it installed, which will reduce confusion.

On 12/3/13 3:52 PM, Tim Dunphy wrote:
" type="cite">
Hey all,

I'm attempting to configure chef client on my chef server and running into an error.

:~] #knife configure --initial
/usr/lib/ruby/vendor_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find chef (>= 0) amongst [bunny-0.8.0, erubis-2.7.0, highline-1.6.15, ipaddress-0.8.0, json-1.7.5, mime-types-1.19, mixlib-authentication-1.3.0, mixlib-cli-1.3.0, mixlib-config-1.1.2, mixlib-log-1.4.1, mixlib-shellout-1.1.0, moneta-0.7.1, net-ssh-2.6.5, net-ssh-gateway-1.1.0, net-ssh-multi-1.1, ohai-6.14.0, polyglot-0.3.3, rest-client-1.6.7, systemu-2.5.2, treetop-1.4.12, uuidtools-2.1.3, yajl-ruby-1.1.0] (Gem::LoadError)
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
        from /usr/lib/ruby/vendor_ruby/1.8/rubygems.rb:1231:in `gem'
        from /usr/local/bin/knife:18

I am running chef 11.8.0 under ubuntu 13.10.

Can anyone provide some insight on how to get around this error?

Thanks!
Tim

--
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B





Archive powered by MHonArc 2.6.16.

§