22.27.126. salt.states.winrepo

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

Example:

winrepo:
  winrepo.genrepo

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.2

Previous topic

22.27.125. salt.states.win_update

Next topic

22.27.127. salt.states.xmpp

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.