mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #29367 from daveneeley/WinRepoErrorMessage
win-repo.py: Add error message for non-windows systems.
This commit is contained in:
commit
d61904e75b
@ -51,7 +51,7 @@ def __virtual__():
|
|||||||
_update_git_repos = \
|
_update_git_repos = \
|
||||||
salt.utils.namespaced_function(_update_git_repos, globals())
|
salt.utils.namespaced_function(_update_git_repos, globals())
|
||||||
return __virtualname__
|
return __virtualname__
|
||||||
return False
|
return (False, 'This module only works on Windows.')
|
||||||
|
|
||||||
|
|
||||||
def _get_local_repo_dir(saltenv='base'):
|
def _get_local_repo_dir(saltenv='base'):
|
||||||
|
Loading…
Reference in New Issue
Block a user