mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update salt/modules/yumpkg.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
parent
27844363dd
commit
33f11e7107
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ def _versionlock_pkg(grains=None):
|
|||
if grains is None:
|
||||
grains = __grains__
|
||||
|
||||
if _yum() == "dnf" or _yum() == "dnf5":
|
||||
if _yum() in ("dnf", "dnf5"):
|
||||
if grains["os"].lower() == "fedora":
|
||||
return (
|
||||
"python3-dnf-plugin-versionlock"
|
||||
|
|
Loading…
Add table
Reference in a new issue