Add error message for non-windows systems.

This commit is contained in:
Dave Neeley 2015-12-02 18:29:26 -07:00
parent d33cb75971
commit 474d1bbbbf

View File

@ -41,7 +41,7 @@ def __virtual__():
''' '''
if salt.utils.is_windows(): if salt.utils.is_windows():
return __virtualname__ return __virtualname__
return False return (False, 'This module only works on Windows.')
def genrepo(): def genrepo():