summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-08-14 10:30:16 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-08-20 00:18:58 -0700
commitac0ad9eb0a99f72e718d9f9bb4fae1caf48ae890 (patch)
tree154a7a300c68dcd60991d4d870eb4295b2ffb32f /lib/chef/resource
parent42582687f5a9e3f766e6f016e43db4477010a56e (diff)
downloadchef-ac0ad9eb0a99f72e718d9f9bb4fae1caf48ae890.tar.gz
fixes from code review
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/yum_package.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/yum_package.rb b/lib/chef/resource/yum_package.rb
index df50022157..50ba13ce65 100644
--- a/lib/chef/resource/yum_package.rb
+++ b/lib/chef/resource/yum_package.rb
@@ -28,7 +28,7 @@ class Chef
super
@flush_cache = { :before => false, :after => false }
@allow_downgrade = false
- @yum_binary = ::File.exist?("/usr/bin/yum-deprecated") ? "yum-deprecated" : "yum"
+ @yum_binary = nil
end
# Install a specific arch