mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
modules.ssh: __virtual__ return err msg
This commit is contained in:
parent
f5e24872f1
commit
1b89417710
@ -33,7 +33,7 @@ DEFAULT_SSH_PORT = 22
|
||||
def __virtual__():
|
||||
# TODO: This could work on windows with some love
|
||||
if salt.utils.is_windows():
|
||||
return False
|
||||
return (False, 'The module cannot be loaded on windows.')
|
||||
return True
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user