Skip to content

Remove yum support from versionlock plugin#374

Open
traylenator wants to merge 1 commit into
voxpupuli:masterfrom
traylenator:dropold
Open

Remove yum support from versionlock plugin#374
traylenator wants to merge 1 commit into
voxpupuli:masterfrom
traylenator:dropold

Conversation

@traylenator

@traylenator traylenator commented Feb 6, 2026

Copy link
Copy Markdown

Pull Request (PR) description

Since introduction of dnf with EL8 yum::versionlock users have been forced to migrate to the new paramatised yum::versionlock introduced in #169 puppet-yum v4.2.0.

EL7 support was already removed with #353

This patch cleans up the dual mode of yum::versionlock and now only dnf systems are supported.

The old method will now fail for all OSes, previous to this patch it only failed on EL8 and EL9.
Reminder

  • On EL7 the epoch is at start of string inside versionlock.list
  • On EL8++ the epoch is in the middle of the string inside versionlock.list.

It is now impossible to create EL7 yum compatible versionlock files with this module.

Since introduction of dnf with EL8 `yum::versionlock` users have been
forced to migrate to the new paramatised `yum::versionlock` introduced
in voxpupuli#169 puppet-yum v4.2.0.

EL7 support was already removed with voxpupuli#353

This patch cleans up the dual mode of `yum::versionlock` and now only
dnf systems are supported.

The old method will now fail for all OSes, previous to this patch it only failed
on EL8 and EL9.

It is now impossible to create EL7 yum compatible versionlock files with
this module.

* Puppet 7 support removal voxpupuli#353
* Introduction of paramatised versionlock: voxpupuli#169
@traylenator traylenator added the enhancement New feature or request label Feb 6, 2026
@traylenator

Copy link
Copy Markdown
Author

Happy to make this backwards-incompatible - it will cause breakage on already unsupported EL7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant