mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #31629 from darix/fix-services-on-sles
Fix services on sles
This commit is contained in:
commit
118fcde425
2 changed files with 3 additions and 2 deletions
|
@ -66,8 +66,8 @@ def __virtual__():
|
|||
return (False, 'Cannot load rh_service module: '
|
||||
'osrelease grain, {0}, not a float,'.format(osrelease))
|
||||
if __grains__['os'] == 'SUSE':
|
||||
if osrelease > 11:
|
||||
return (False, 'Cannot load rh_service module on SUSE >= 11')
|
||||
if osrelease >= 12:
|
||||
return (False, 'Cannot load rh_service module on SUSE >= 12')
|
||||
if __grains__['os'] == 'Fedora':
|
||||
if osrelease > 15:
|
||||
return (False, 'Cannot load rh_service module on Fedora >= 15')
|
||||
|
|
|
@ -37,6 +37,7 @@ def __virtual__():
|
|||
'Arch ARM',
|
||||
'ALT',
|
||||
'SUSE Enterprise Server',
|
||||
'SUSE',
|
||||
'OEL',
|
||||
'Linaro',
|
||||
'elementary OS',
|
||||
|
|
Loading…
Add table
Reference in a new issue