mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix case in os_family for Suse
This commit is contained in:
parent
5987c4e30e
commit
81bd96e32d
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def __virtual__():
|
|||
if __grains__['kernel'] != 'Linux':
|
||||
return (False, 'Non Linux OSes are not supported')
|
||||
# SUSE >=12.0 uses systemd
|
||||
if __grains__.get('os_family', '') == 'SUSE':
|
||||
if __grains__.get('os_family', '') == 'Suse':
|
||||
try:
|
||||
# osrelease might be in decimal format (e.g. "12.1"), or for
|
||||
# SLES might include service pack (e.g. "11 SP3"), so split on
|
||||
|
|
Loading…
Add table
Reference in a new issue