From 97aaf5bbcdfd0810722b123bdc67e883a7ca8077 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 24 Oct 2014 10:45:43 -0700 Subject: Chef-12 RC Provider Resolver makes resource and provider class resolution more dynamic. begins deprecation of Chef::Platform static mapping. --- lib/chef/provider/package/rpm.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/chef/provider/package/rpm.rb') diff --git a/lib/chef/provider/package/rpm.rb b/lib/chef/provider/package/rpm.rb index c0a6444252..131587e066 100644 --- a/lib/chef/provider/package/rpm.rb +++ b/lib/chef/provider/package/rpm.rb @@ -25,6 +25,8 @@ class Chef class Package class Rpm < Chef::Provider::Package + provides :rpm_package, os: [ "linux", "aix" ] + include Chef::Mixin::GetSourceFromPackage def define_resource_requirements -- cgit v1.2.1