salt.modules.win_repo

Module to manage Windows software repo on a Standalone Minion

The following options must be set in the Minion config:
file_client: local win_repo_cachefile: c:saltfile_rootswinrepowinrepo.p win_repo: c:saltfile_rootswinrepo

Place all Windows package files in the 'win_repo' directory.

salt.modules.win_repo.genrepo()

Generate win_repo_cachefile based on sls files in the win_repo

CLI Example:

salt-call winrepo.genrepo -c c:\salt\conf
salt.modules.win_repo.update_git_repos()

Checkout git repos containing Windows Software Package Definitions

Note

This function will not work unless git is installed and the git module is further updated to work on Windows. In the meantime just place all Windows package files in the win_repo directory.