def __virtual__():
    '''
    Set the virtual pkg module if the os is Solaris 11
    '''
    if __grains__['os_family'] == 'Solaris' \
            and float(__grains__['kernelrelease']) > 5.10 \
            and salt.utils.path.which('pkg'):
        return __virtualname__
    return (False,
            'The solarisips execution module failed to load: only available '
            'on Solaris >= 11.')
def __virtual__ ( ) : if __grains__ [ 'os_family' ] == 'Solaris' and float ( __grains__ [ 'kernelrelease' ] ) > 5.10 and salt . utils . path . which ( 'pkg' ) : return __virtualname__ return ( False , 'The solarisips execution module failed to load: only available ' 'on Solaris >= 11.' )
Set the virtual pkg module if the os is Solaris 11