modules.ssh: __virtual__ return err msg

This commit is contained in:
Sergey Lupersolsky 2015-12-02 16:54:39 -08:00
parent f5e24872f1
commit 1b89417710

View File

@ -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