RHEL 7 should use systemd module

This commit is contained in:
Guillaume Derval 2014-04-26 14:26:51 +02:00
parent f85e77718a
commit 30af5ee083

View File

@ -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