mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Systemd not recognized properly on Oracle Linux 7
Both systemd and rh_service modules were enabled which led to a strange situation where: - state.sls or state.highstate were failing on service state - state.sls_id was passing on the called service
This commit is contained in:
parent
8e04db76de
commit
4d6ab21c74
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def __virtual__():
|
|||
if __grains__['os'] == 'Fedora':
|
||||
if osrelease > 15:
|
||||
return False
|
||||
if __grains__['os'] in ('RedHat', 'CentOS', 'ScientificLinux'):
|
||||
if __grains__['os'] in ('RedHat', 'CentOS', 'ScientificLinux', 'OEL'):
|
||||
if osrelease >= 7:
|
||||
return False
|
||||
return __virtualname__
|
||||
|
|
Loading…
Add table
Reference in a new issue