Jay,You can specify the 'provider' common attribute to any resource to control which provider the resource should use explicitly [0], e.g.;package "mypackage" dosource "/path/to/my/package.deb"provider Chef::Provider::Package::DpkgendIt is my understanding that there is no platform mapped for the package resource that would cause any platform nor family to use the Dpkg provider by default -- generally I'd use them with the dpkg_package shortcut resource.Cheers,AJOn 23 January 2013 14:33, Jay Pipes < " target="_blank"> > wrote:
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.