diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-12-15 18:38:59 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-12-15 18:38:59 -0800 |
commit | 8519f0a9fdce4a5546a74c994471c2d9067a8ae4 (patch) | |
tree | fbd75de08b331ffbaaec454a35983d9edbd383f9 | |
parent | 1adbd71c9e8093fab703f8d3896cf470a15d4221 (diff) | |
download | chef-8519f0a9fdce4a5546a74c994471c2d9067a8ae4.tar.gz |
roll back one more unsupported use caselcg/yum-versionfix
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/functional/resource/yum_package_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/yum_package_spec.rb b/spec/functional/resource/yum_package_spec.rb index 2135d23341..9b127def8e 100644 --- a/spec/functional/resource/yum_package_spec.rb +++ b/spec/functional/resource/yum_package_spec.rb @@ -238,8 +238,8 @@ describe Chef::Resource::YumPackage, :requires_root, external: exclude_test do end end - # 0:1.2 0:1*-1 doesn't work on yum/el6 - %w{1* 1*-1 1*-* 0:1* *:1*-* 0:1.2-1}.each do |vstring| + # 0:1.2-1 0:1.2 0:1*-1 doesn't work on yum/el6 + %w{1* 1*-1 1*-* 0:1* *:1*-*}.each do |vstring| it "upgrades when #{vstring} is in the version property on upgrade and it matches the candidate version" do preinstall("chef_rpm-1.2-1.#{pkg_arch}.rpm") yum_package "chef_rpm" do |