Manage Windows Package Repository
salt.states.winrepo.
genrepo
(name, force=False, allow_empty=False)¶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
Generated on February 25, 2019 at 06:53:47 MST.
You are viewing docs for the previous stable release, 2017.7.8. Switch to docs for the latest stable release, 2018.3.3, or to a recent doc build from the develop branch.
© 2019 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy