diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-08-13 11:28:02 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-08-20 00:18:58 -0700 |
commit | 41b4953869ed4dbfd63b0555b0ca511fd5589ed4 (patch) | |
tree | 167e1986a29621680ec1ff3ca83cb0a205c3fd32 /lib/chef/provider/package/yum.rb | |
parent | 3597be4445708ef8b848f71c89949c590837cb37 (diff) | |
download | chef-41b4953869ed4dbfd63b0555b0ca511fd5589ed4.tar.gz |
inject yum_binary into YumCache
Diffstat (limited to 'lib/chef/provider/package/yum.rb')
-rw-r--r-- | lib/chef/provider/package/yum.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/provider/package/yum.rb b/lib/chef/provider/package/yum.rb index 6bd12bc45e..47708295f3 100644 --- a/lib/chef/provider/package/yum.rb +++ b/lib/chef/provider/package/yum.rb @@ -651,6 +651,8 @@ class Chef include Chef::Mixin::ShellOut include Singleton + attr_accessor :yum_binary + def initialize @rpmdb = RPMDb.new @@ -980,6 +982,7 @@ class Chef super @yum = YumCache.instance + @yum.yum_binary = yum_binary end def yum_binary |