mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #39591 from mcalmer/fix-case-in-os_family
fix case in os_family for Suse
This commit is contained in:
commit
53e22b8f15
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