Skip to content

Instantly share code, notes, and snippets.

Created September 10, 2016 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/301c9d9c200463acb61e7f077b6917e6 to your computer and use it in GitHub Desktop.
Save anonymous/301c9d9c200463acb61e7f077b6917e6 to your computer and use it in GitHub Desktop.
salt reactor
# cat /srv/reactor/update_suma_pkglist.sls
install_pseudo_pkg:
local.pkg.install:
- tgt: {{ data }}
- arg:
- f000pkg
# cat /etc/salt/master.d/reactor.conf
reactor:
- 'salt/beacon/*/inotify/var/cache/salt/minion/rpmdb.cookie':
- /srv/reactor/update_suma_pkglist.sls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment