mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
python2- prefix for fedora 26 packages
This commit is contained in:
parent
c746f79a3a
commit
21934f61bb
@ -180,7 +180,10 @@ def _check_versionlock():
|
||||
Ensure that the appropriate versionlock plugin is present
|
||||
'''
|
||||
if _yum() == 'dnf':
|
||||
if int(__grains__.get('osmajorrelease')) < 26:
|
||||
vl_plugin = 'python-dnf-plugins-extras-versionlock'
|
||||
else:
|
||||
vl_plugin = 'python2-dnf-plugins-extras-versionlock'
|
||||
else:
|
||||
vl_plugin = 'yum-versionlock' \
|
||||
if __grains__.get('osmajorrelease') == '5' \
|
||||
|
Loading…
Reference in New Issue
Block a user