mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Update solarisips.py
Fixed version comparison.
This commit is contained in:
parent
4b6a4aa3a9
commit
a91e8d9895
@ -37,7 +37,7 @@ def __virtual__():
|
||||
'''
|
||||
Set the virtual pkg module if the os is Solaris 11
|
||||
'''
|
||||
if __grains__['os'] == 'Solaris' and float(__grains__['kernelrelease']) == 5.10:
|
||||
if __grains__['os'] == 'Solaris' and float(__grains__['kernelrelease']) > 5.10:
|
||||
return __virtualname__
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user