summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-08-13 12:38:18 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-08-20 00:18:58 -0700
commitf3fdacc7193c58ce641891942a315f61b4bc87fc (patch)
tree7ee7de28508ea283027780a6b46bdc44e1dacd00 /lib
parent41b4953869ed4dbfd63b0555b0ca511fd5589ed4 (diff)
downloadchef-f3fdacc7193c58ce641891942a315f61b4bc87fc.tar.gz
green the broken tests
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/provider/package/yum.rb2
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