Runner to manage Windows software repo
salt.runners.winrepo.
genrepo
(opts=None, fire_event=True)¶Generate winrepo_cachefile based on sls files in the winrepo_dir
CLI 范例:
salt-run winrepo.genrepo
salt.runners.winrepo.
update_git_repos
(opts=None, clean=False, masterless=False)¶Checkout git repos containing Windows Software Package Definitions
Clean repo cachedirs which are not configured under
winrepo_remotes
.
警告
This argument should not be set to True
if a mix of git and
non-git repo definitions are being used, as it will result in the
non-git repo definitions being removed.
2015.8.0 新版功能.
CLI Examples:
salt-run winrepo.update_git_repos
salt-run winrepo.update_git_repos clean=True