[chef] Re: yum package resource/provider


Chronological Thread 
  • From: Charles Duffy < >
  • To:
  • Subject: [chef] Re: yum package resource/provider
  • Date: Wed, 9 Mar 2011 10:35:12 -0600

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 < "> > 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.

§