mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
modules.junos: __virtual__ return err msg
This commit is contained in:
parent
f5e24872f1
commit
873ebd0d5e
@ -44,7 +44,8 @@ def __virtual__():
|
|||||||
if HAS_JUNOS and 'proxy' in __opts__:
|
if HAS_JUNOS and 'proxy' in __opts__:
|
||||||
return __virtualname__
|
return __virtualname__
|
||||||
else:
|
else:
|
||||||
return False
|
return (False, 'The junos module could not be \
|
||||||
|
loaded: junos-eznc or proxy could not be loaded.')
|
||||||
|
|
||||||
|
|
||||||
def facts_refresh():
|
def facts_refresh():
|
||||||
|
Loading…
Reference in New Issue
Block a user