summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-08-17 20:34:03 -0700
committerGitHub <noreply@github.com>2018-08-17 20:34:03 -0700
commit0c98609f2e79978082dc616dc82ac24d07cda0e3 (patch)
tree2a31d538f320231fd8bb8ad02c3ba9db6a40047b
parent7395e450b0c15fa9f462039bc5a864f699960716 (diff)
parentced6032716aa80fb76fafd2e49f5225ae55bfc70 (diff)
downloadchef-0c98609f2e79978082dc616dc82ac24d07cda0e3.tar.gz
Merge pull request #7555 from chef/lcg/fix-yum
Fix failed RHEL6 32-bit functional tests
-rw-r--r--lib/chef/provider/package/yum.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/package/yum.rb b/lib/chef/provider/package/yum.rb
index 029d9dc2e0..e991e4541e 100644
--- a/lib/chef/provider/package/yum.rb
+++ b/lib/chef/provider/package/yum.rb
@@ -237,9 +237,9 @@ class Chef
def installed_version(index)
@installed_version ||= []
@installed_version[index] ||= if new_resource.source
- python_helper.package_query(:whatinstalled, available_version(index).name, version: safe_version_array[index], arch: safe_arch_array[index])
+ python_helper.package_query(:whatinstalled, available_version(index).name, arch: safe_arch_array[index])
else
- python_helper.package_query(:whatinstalled, package_name_array[index], version: safe_version_array[index], arch: safe_arch_array[index])
+ python_helper.package_query(:whatinstalled, package_name_array[index], arch: safe_arch_array[index])
end
@installed_version[index]
end