No mas. The way Chef works is to map a default provider to the platformOn 1/22/13 5:33 PM, "Jay Pipes" < "> > wrote:
>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...
you are on, not to any other magic (like file extension.) You can, as you
correctly surmised, use dpkg_package, or specify the provider with the
provider meta-param.
Best,
Adam
Archive powered by MHonArc 2.6.16.