diff options
author | Lance Albertson <lance@osuosl.org> | 2023-04-18 12:21:47 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-18 15:21:47 -0400 |
commit | 6fdfe6ba975bd03da6b03225d7fe19f10b0f7306 (patch) | |
tree | 581cab969a90b4bf572bf68d65dcc26ff1b5e3cb /knife/lib/chef/knife/version.rb | |
parent | 09403f49de67b31fb1d6a8fbd4767dd0b22b9dee (diff) | |
download | chef-6fdfe6ba975bd03da6b03225d7fe19f10b0f7306.tar.gz |
zypper_package: Fix idempotency issue (#13691)
Installing the apache2-mod_wsgi-python3 package is not idempotent due to the
fact that zypper will also return the apache2-mod_wsgi package. The
resolve_available_version method, incorrectly assumes this will only return one
item, but in this case it returns four items and will pick the first package
listed.
To work around this, we should verify that the package name listed in the output
matches what we are expecting to install.
Signed-off-by: Lance Albertson <lance@osuosl.org>
Diffstat (limited to 'knife/lib/chef/knife/version.rb')
0 files changed, 0 insertions, 0 deletions