Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue with yum package module regarding packages with epoch not validating (3.24) #2971

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

craigcomstock
Copy link
Contributor

  • Fixed issue with yum package module regarding packages with epoch not validating
  • Black formatting for yum package module python script

… validating

Packages would be installed but the promise would fail due to the installed list not including the epoch number.
The updates list generated by the module included the epoch number so validation would fail.

e.g. findutils:1:4.8.0-7.el9:x86_64 would not match findutils:4.8.0-7.el9:x86_64

Fix this by including epoch in rpm_output_format and removing (none): where the package has no epoch.

Ticket: ENT-12538
Changelog: title
(cherry picked from commit 32110fe)
Ticket: ENT-12538
Changelog: none
(cherry picked from commit ce1fac4)
Ticket: none
Changelog: none
(cherry picked from commit e8c97c6)
@craigcomstock craigcomstock merged commit 94bcd15 into cfengine:3.24.x Dec 19, 2024
4 checks passed
@craigcomstock craigcomstock deleted the ENT-12538/3.24 branch December 19, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant