[chef] Re: chef server problem


Chronological Thread 
  • From: Joe Van Dyk < >
  • To: chef < >
  • Subject: [chef] Re: chef server problem
  • Date: Tue, 11 Aug 2009 14:47:59 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=pMfX6o7XNxYZMGeB+KYXAWhY8GyfYGhdcov1pvSaHd+nmQFSpp1kbg7Tu2d0fA+O2v 14LA+Dbc8Z7n7rodMyiXmiAfAUKC1Dw8TbJpMwIUnHVraPRAIooUXgtvp6vjgB46Z2dX 2gUxk9csnizpSf51pG45dDs1zuDqjKNgOPJjg=

Problem was that the universe repository wasn't enabled in
/etc/apt/sources.list.  Thanks jtimberman.

On Tue, Aug 11, 2009 at 2:25 PM, Joe Van 
Dyk< >
 wrote:
>  :~#
>  chef-solo -c ~/solo.rb -j ~/chef.json -r
> http://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz
> [Tue, 11 Aug 2009 21:25:17 +0000] INFO: Starting Chef Solo Run
> [Tue, 11 Aug 2009 21:25:18 +0000] ERROR: package[runit]
> (/tmp/chef-solo/cookbooks/runit/recipes/default.rb line 32) had an
> error:
> No version specified, and no candidate version available!
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package.rb:50:in
> `action_install'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in
> `send'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in
> `converge'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in
> `each'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in
> `converge'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in
> `each'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in
> `each'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in
> `converge'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in
> `converge'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:101:in
> `run_solo'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/solo.rb:122:in
> `run_application'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in
> `run'/usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-solo:26/usr/local/bin/chef-solo:19:in
> `load'/usr/local/bin/chef-solo:19
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/provider/package.rb:50:in
> `action_install': No version specified, and no candidate version
> available! (Chef::Exceptions::Package)
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in
> `send'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:87:in
> `converge'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in
> `each'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:85:in
> `converge'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:58:in
> `each'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/resource_collection.rb:57:in
> `each'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/runner.rb:63:in
> `converge'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:373:in
> `converge'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/client.rb:101:in
> `run_solo'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application/solo.rb:122:in
> `run_application'
>        from 
> /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/lib/chef/application.rb:57:in
> `run'
>        from /usr/local/lib/ruby/gems/1.8/gems/chef-0.7.4/bin/chef-solo:26
>        from /usr/local/bin/chef-solo:19:in `load'
>        from /usr/local/bin/chef-solo:19
>
>
> --
> Joe Van Dyk
> http://fixieconsulting.com
>



-- 
Joe Van Dyk
http://fixieconsulting.com



Archive powered by MHonArc 2.6.16.

§