[chef] installing 0.9.6 on CentOS 5.4


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] installing 0.9.6 on CentOS 5.4
  • Date: Sun, 18 Jul 2010 03:28:14 -0700 (PDT)

I am trying to install chef 0.9.6 on the CentOS 5.4  environment. I've 
manually
installed couchdb, erlang and rabbitmq and now trying to bootstrap chef ruby
gems.
I've commented out the rubbitmq java and couchdb recepies from the chef 
bootrap
cookbook (because I've some problem with erlan package) and now I'm trying to
run the cookbook but getting the following error:
[Sun, 18 Jul 2010 09:51:34 -0400] INFO: Installing 
gem_package[chef-server-api]
version 0.9.6
[Sun, 18 Jul 2010 09:51:34 -0400] ERROR: gem_package[chef-server-api]
(/root/chef/chef-solo/cookbooks/chef/recipes/bootstrap_server.rb:74:in
`from_file') had an error:
undefined method `runtime_dependencies' for nil:NilClass
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:181:in
`tsort_each_child'
/usr/local/lib/ruby/1.8/tsort.rb:204:in
`each_strongly_connected_component_from'
/usr/local/lib/ruby/1.8/tsort.rb:183:in `each_strongly_connected_component'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:175:in `each'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:175:in
`tsort_each_node'
/usr/local/lib/ruby/1.8/tsort.rb:181:in `each_strongly_connected_component'
/usr/local/lib/ruby/1.8/tsort.rb:165:in `strongly_connected_components'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb:69:in
`dependency_order'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:169:in
`gather_dependencies'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:245:in
`install'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:153:in
`install'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:176:in
`with_correct_verbosity'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:152:in
`install'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:87:in
`with_gem_sources'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:151:in
`install'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package/rubygems.rb:398:in
`install_package'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/provider/package.rb:60:in
`action_install'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:50:in
`send'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:50:in
`run_action'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:107:in
`converge'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:106:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:106:in
`converge'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection.rb:94:in
`execute_each_resource'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in
`call'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in
`call_iterator_block'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in
`step'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in
`iterate'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in
`each_with_index'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource_collection.rb:92:in
`execute_each_resource'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/runner.rb:80:in
`converge'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/client.rb:334:in
`converge'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/client.rb:86:in
`run'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application/solo.rb:193:in
`run_application'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application/solo.rb:185:in
`loop'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application/solo.rb:185:in
`run_application'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/application.rb:62:in
`run'
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/chef-solo:25
./bin/chef-solo:19:in `load'
./bin/chef-solo:19



Archive powered by MHonArc 2.6.16.

§