- From: Stephen Bannasch <
>
- To:
- Subject: [chef] stompserver not installed by running bootstrap-0.7.8
- Date: Fri, 21 Aug 2009 18:53:34 -0400
I'm installing chef on a centos 5.3 system but I am NOT using
packages for anything ruby related.
When I got to this step:
sudo chef-solo -c solo.rb -j chef.json -r
http://s3.amazonaws.com/chef-solo/bootstrap-0.7.8.tar.gz
it made it through installing and starting couchdb but dies here:
[Fri, 21 Aug 2009 13:20:42 -0400] ERROR: gem_package[stompserver]
(/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.8/lib/chef/recipe.rb line
191) had an error:
No such file or directory - gem list --local stompserver
FYI: here's the full trace and the gems installed,
http://gist.github.com/172488
I just started looking at the code and here's the default recipe for
stompserver from bootstrap-0.7.8
if platform?("centos","redhat") and dist_only?
package "rubygem-stompserver"
service "stompserver" do
supports [ :restart, :reload, :status ]
action [ :enable, :start ]
end
return
end
include_recipe "runit"
gem_package "stompserver" do
action :install
end
runit_service "stompserver"
Is the problem related to the fact that I am NOT using packages to
install ruby and gems?
If so is there a way to run this so chef uses Ruby to install gems?
Here's how I setup the system:
After getting git, ruby, and rubygems working I did this:
sudo gem sources -a
http://gems.github.com
sudo gem source -a
http://gems.opscode.com/
sudo gem install rake rspec cucumber webrat merb-core roman-merb_cucumber
sudo gem install mixlib-config mixlib-log mixlib-cli
sudo gem install ohai chef merb-slices
cat ~/solo.rb
file_cache_path "/tmp/chef-solo"
cookbook_path "/tmp/chef-solo/cookbooks"
cat ~/chef.json
{ "recipes": "chef::server" }
sudo chef-solo -c solo.rb -j chef.json -r
http://s3.amazonaws.com/chef-solo/bootstrap-0.7.8.tar.gz
- [chef] stompserver not installed by running bootstrap-0.7.8, Stephen Bannasch, 08/21/2009
Archive powered by MHonArc 2.6.16.