[chef] Re: Re: RE: Chef repository usage...


Chronological Thread 
  • From: Morgan Blackthorne < >
  • To:
  • Subject: [chef] Re: Re: RE: Chef repository usage...
  • Date: Mon, 23 Jul 2012 12:14:13 -0700

Thanks all.

I looked at the repo that had been set up by my cosysadmin (who is now at a new company) and I see that there is a Rakefile and such configured. I went and installed rake, confirmed it was pointing to the ruby1.9 version, and tried doing rake install. I get back this error, which Googling did me no favors for:

:~/svn/OPS/chef-repo$ rake install --trace
rake aborted!
cannot load such file -- mixlib/authentication/signedheaderauth
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/rest/auth_credentials.rb:25:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/rest.rb:28:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/search/query.rb:21:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/mixin/language.rb:19:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/resource.rb:22:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/resource/file.rb:20:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/provider/file.rb:21:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/provider/cookbook_file.rb:20:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef/providers.rb:20:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/vendor_ruby/chef.rb:25:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/home/morgan/svn/OPS/chef-repo/Rakefile:22:in `<top (required)>'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25:in `load'
/usr/lib/ruby/vendor_ruby/rake/rake_module.rb:25:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:501:in `raw_load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:82:in `block in load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:81:in `load_rakefile'
/usr/lib/ruby/vendor_ruby/rake/application.rb:65:in `block in run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in `standard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:63:in `run'
/usr/bin/rake:27:in `<main>'
:~/svn/OPS/chef-repo$

I'm going to try to clone the chef repo mentioned in the first part of this thread and switch to using my Hosted Chef sandbox (knife-block is very handy for testing like this) and seeing if the error persists, but I don't want to make a lot of changes to the existing repo until I know why it's set up the way it's set up.

~*~ StormeRider ~*~

"With hearts immortal, we stand before our lives
A soul against oblivion, forever asking why
This upside down symphony in a paradox called life
Our hearts immortal
What you give to love, will never die"


On Mon, Jul 23, 2012 at 8:58 AM, Bryan McLellan < " target="_blank"> > wrote:
On Mon, Jul 23, 2012 at 6:32 AM, Sullivan, Jon Paul
< "> > wrote:
> I really like knife-essentials for uploading to a chef server.  It gives you
> the “knife upload” command that just pushes up what is different in your
> VCS.
>
> https://github.com/jkeiser/knife-essentials

And of course, this can be installed with Rubygems:

$ gem install knife-essentials

Bryan




Archive powered by MHonArc 2.6.16.

§