salt.states.winrepo
Manage Windows Package Repository
- 
Refresh the winrepo.p file of the repository (salt-run winrepo.genrepo)
If
forceisTrueno checks will be made and the repository will be generated ifallow_emptyisTruethen the state will not return an error if there are 0 packages,Note
This state only loads on minions that have the
roles: salt-mastergrain set.Example:
winrepo: winrepo.genrepo
 
salt.states.winrepo.genrepo(name, force=False, allow_empty=False)
    © 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
    https://docs.saltproject.io/en/latest/ref/states/all/salt.states.winrepo.html