Merge pull request #39591 from mcalmer/fix-case-in-os_family

fix case in os_family for Suse
This commit is contained in:
Mike Place 2017-02-23 12:07:16 -07:00 committed by GitHub
commit 53e22b8f15

View file

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