mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #46056 from Ch3LL/ver_mac
Fix mac_assistive module not loading
This commit is contained in:
commit
5a31422432
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue