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

[FEATURE] Add versionlock feature for RHEL-based distros #513

Open
mdschmitt opened this issue Sep 14, 2021 · 0 comments
Open

[FEATURE] Add versionlock feature for RHEL-based distros #513

mdschmitt opened this issue Sep 14, 2021 · 0 comments

Comments

@mdschmitt
Copy link

mdschmitt commented Sep 14, 2021

Is your feature request related to a problem?

Not really, the functionality just exists for Debian-based systems, but not RHEL-based ones.

Describe the solution you'd like

If pin is set to true and the osfamily is RedHat, do a pkg.install yum-plugin-versionlock, then pkg.install salt with the appropriate version number, followed by cmd.run yum versionlock salt-minion (or master or whatever).

I think this could all go in salt/pin.sls.

Describe alternatives you've considered

N/A

Additional context

N/A

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

No branches or pull requests

1 participant