mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
RHEL 7 should use systemd module
This commit is contained in:
parent
f85e77718a
commit
30af5ee083
@ -57,6 +57,9 @@ def __virtual__():
|
||||
if __grains__['os'] == 'Fedora':
|
||||
if __grains__.get('osrelease', 0) > 15:
|
||||
return False
|
||||
if __grains__['os'] == 'RedHat':
|
||||
if __grains__.get('osrelease', 0) >= 7:
|
||||
return False
|
||||
return __virtualname__
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user