[chef] Re: Re: yum package resource/provider


Chronological Thread 
  • From: Tristan Sloughter < >
  • To:
  • Cc: Charles Duffy < >
  • Subject: [chef] Re: Re: yum package resource/provider
  • Date: Wed, 9 Mar 2011 11:14:34 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=U5tkouB/hxPlquxVnvv+m9080yx+6SKcn6662vJd3hz5pFDVUFFQM6nfSGORaXqWJm MAcRPVp1TmCZV2tRfTYZVIR4mcCN7giXhvTr5wm9bLt5XiGuYZ+4wJDbrJ4xqJH3PoX7 wjuApFk8nWTAAovKEO+smfPEsnM25sGvFhMvc=

I see this when I run yum_dump.py:

xorg-x11-server-Xvfb,available,0,1.1.1,48.76.el5_5.2,x86_64

On Wed, Mar 9, 2011 at 10:35 AM, Charles Duffy < "> > wrote:
I'd start by looking through the output of the yum_dump.py helper shipped with chef (when Xvfb is not installed).


On Wed, Mar 9, 2011 at 10:22 AM, Tristan Sloughter < " target="_blank"> > wrote:
I've run into an interesting problem with the yum package installer. In my recipe I have:

package "Xvfb" do
  action :install
end

This fails with:

/usr/lib64/ruby/gems/1.8/gems/chef-0.9.14/bin/../lib/chef/provider/package.rb:50:in `action_install': No version specified, and no candidate version available for Xvfb (Chef::Exceptions::Package)

But if I simply do :

$ sudo yum install Xvfb

It installs fine.

I saw bugs in the Chef issues tracker but they seemed to say they were fixed and from 2009.

My client is 0.9.14 but the server is 0.9.8.

Tristan






Archive powered by MHonArc 2.6.16.

§