Merge pull request #29367 from daveneeley/WinRepoErrorMessage

win-repo.py: Add error message for non-windows systems.
This commit is contained in:
Colton Myers 2015-12-02 18:33:18 -07:00
commit d61904e75b

View File

@ -51,7 +51,7 @@ def __virtual__():
_update_git_repos = \
salt.utils.namespaced_function(_update_git_repos, globals())
return __virtualname__
return False
return (False, 'This module only works on Windows.')
def _get_local_repo_dir(saltenv='base'):