Merge pull request #46072 from rallytime/bp-46056

Back-port #46056 to oxygen.rc1
This commit is contained in:
Nicole Thomas 2018-02-16 14:56:56 -05:00 committed by GitHub
commit f09db38f63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ def __virtual__():
Only work on Mac OS
'''
if salt.utils.platform.is_darwin() \
and _LooseVersion(__grains__['osrelease']) >= '10.9':
and _LooseVersion(__grains__['osrelease']) >= _LooseVersion('10.9'):
return True
return (
False,