diff --git a/salt/modules/rh_service.py b/salt/modules/rh_service.py index e213169a79..f9ada924a2 100644 --- a/salt/modules/rh_service.py +++ b/salt/modules/rh_service.py @@ -57,7 +57,7 @@ def __virtual__(): if __grains__['os'] == 'Fedora': if __grains__.get('osrelease', 0) > 15: return False - if __grains__['os'] == 'RedHat': + if __grains__['os'] in ('RedHat','CentOS','ScientificLinux'): if __grains__.get('osrelease', 0) >= 7: return False return __virtualname__