summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-08-13 11:20:18 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-08-20 00:18:58 -0700
commit3597be4445708ef8b848f71c89949c590837cb37 (patch)
tree67c0ea423addfa566b27f56456c98fcb23261fd5
parent874870d25c545452a50d2de35ffb9d8657236b44 (diff)
downloadchef-3597be4445708ef8b848f71c89949c590837cb37.tar.gz
class namespacing
-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 de1075d1ad..df50022157 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 = ::File.exist?("/usr/bin/yum-deprecated") ? "yum-deprecated" : "yum"
end
# Install a specific arch