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
Specify an alternate opts dict. Should not be used unless this function is imported into an execution module.
Fire an event on failure. Only supported on the master.
CLI Example:
salt-run winrepo.genrepo
salt.runners.winrepo.
update_git_repos
(opts=None, clean=False, masterless=False)¶Checkout git repos containing Windows Software Package Definitions
Specify an alternate opts dict. Should not be used unless this function is imported into an execution module.
Clean repo cachedirs which are not configured under
winrepo_remotes
.
Warning
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.
New in version 2015.8.0.
CLI Examples:
salt-run winrepo.update_git_repos
salt-run winrepo.update_git_repos clean=True