Salt Windows Software Package Manager Repo.
Official Salt documentation provides a getting started guide.
http://docs.saltstack.com/en/latest/topics/windows/windows-package-manager.html
Before submitting new or edits to existing sls files. Please deploy them to
your salt master and then run salt windows-minion-client pkg.refresh_db
against a minion on 2016.11 or newer. Ensure no errors are reported.
pre-commit is configured for this repository, which
you may use to ease the steps involved in submitting your changes.
First install the pre-commit
package manager using the appropriate
method, then run pre-commit install
and now pre-commit
will run automatically on each git commit
.
git clone --origin upstream https://github.com/saltstack/salt-winrepo-ng.git
cd salt-winrepo-ng
pre-commit install
To deploy changes done in the WinRepo-NG, the following steps should be taken. On the salt master the following command should be executed:
salt-run winrepo.update_git_repos
Afterwards the next command should be run, to update the packages on all Windows Minions
salt -G@kernel:Windows' pkg.refresh_db