Skip to content

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 1b931af into cfengine:3.21.x Dec 19, 2024
3 checks passed
@craigcomstock craigcomstock deleted the ENT-12538/3.21 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