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

Finish out dnf path for versionlock. #253

Merged
merged 1 commit into from
Jun 17, 2022
Merged

Finish out dnf path for versionlock. #253

merged 1 commit into from
Jun 17, 2022

Conversation

jcpunk
Copy link

@jcpunk jcpunk commented Jun 6, 2022

Pull Request (PR) description

The versionlock file used by the module actually points to the wrong place on dnf based systems. This should fix that up and add a parameter to make it easier to set locks/actions.

This Pull Request (PR) fixes the following issues

n/a

@trevor-vaughan
Copy link

This seems like a reasonable implementation to me.

@wyardley wyardley requested a review from trevor-vaughan June 17, 2022 18:30
Copy link

@op-ct op-ct left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, adding the DNF path for versionlock.list

@trevor-vaughan trevor-vaughan merged commit c5077ac into voxpupuli:master Jun 17, 2022
@jcpunk jcpunk deleted the dnf-plugins branch June 17, 2022 19:22
@traylenator
Copy link

traylenator commented Jun 19, 2022

This breaks a lot of rspec referencing yum::versionlock where the provider fact is not set.

Could we use OS version in hiera or add a default to common.yaml?

traylenator added a commit to traylenator/puppet-yum that referenced this pull request Jun 20, 2022
With the changes in voxpupuli#253
`yum::versionlock` was failing for cases where
`$facts['package_provider]` which is typically the case for rspec
compilations.

Default `yum::versionlock::path` to the existing yum location.
traylenator added a commit to traylenator/puppet-yum that referenced this pull request Jun 20, 2022
With the changes in voxpupuli#253
`yum::versionlock` was failing for cases where
`$facts['package_provider]` which is typically the case for rspec
compilations.

Default `yum::versionlock::path` to the existing yum location.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants