Merge pull request #30136 from abednarik/virtual_ret_opkg_module

modules.opkg: __virtual__ return err msg.
This commit is contained in:
Mike Place 2016-01-04 11:39:23 -07:00
commit f55d7441ed

View File

@ -47,7 +47,7 @@ def __virtual__():
'''
if __grains__.get('os_family', False) == 'NILinuxRT':
return __virtualname__
return False
return (False, "Module opkg only works on nilrt based systems")
def latest_version(*names, **kwargs):