[chef] Why does package resource not understand source packages?


Chronological Thread 
  • From: Jay Pipes < >
  • To:
  • Subject: [chef] Why does package resource not understand source packages?
  • Date: Tue, 22 Jan 2013 20:33:46 -0500

Hi,

I'm wondering why if I do this:

package "mypackage" do
    source "/path/to/my/package.deb"
end

that the package resource cannot figure out to use the Dpkg provider to
install the package?

Instead, I get an error about no version specified and no candidate
version available:

http://paste.openstack.org/show/29738/

If I change package to dpkg_package, it works correctly, but I was
hoping the generic package resource would handle this based on the file
extension...

Best,
-jay



Archive powered by MHonArc 2.6.16.

§