Manage Windows Package Repository
Refresh the winrepo.p file of the repository (salt-run winrepo.genrepo)
If force
is True
no checks will be made and the repository will be generated if allow_empty
is True
then the state will not return an error if there are 0 packages,
Note
This state only loads on minions that have the roles: salt-master
grain set.
Example:
winrepo: winrepo.genrepo
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.winrepo.html