diff options
Diffstat (limited to 'lib/chef/provider/package/yum.rb')
-rw-r--r-- | lib/chef/provider/package/yum.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/yum.rb b/lib/chef/provider/package/yum.rb index 47708295f3..de23ed22b9 100644 --- a/lib/chef/provider/package/yum.rb +++ b/lib/chef/provider/package/yum.rb @@ -986,7 +986,7 @@ class Chef end def yum_binary - new_resource.yum_binary + new_resource.is_a?(Chef::Resource::YumPackage) ? new_resource.yum_binary : "yum" end # Extra attributes |