mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #30136 from abednarik/virtual_ret_opkg_module
modules.opkg: __virtual__ return err msg.
This commit is contained in:
commit
f55d7441ed
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user