Skip to content

Instantly share code, notes, and snippets.

Created June 17, 2015 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/8d174088f25451c55b9a to your computer and use it in GitHub Desktop.
Save anonymous/8d174088f25451c55b9a to your computer and use it in GitHub Desktop.
{% set minion_id = data.get('id', None) %}
{% if minion_id %}
sync-local-modules:
local.saltutil.sync_all:
- tgt: {{ minion_id }}
refresh-pillars:
local.saltutil.refresh_pillar:
- tgt: {{ minion_id }}
run-base-state:
local.state.sls:
- tgt: {{ minion_id }}
- arg:
- global.minion
run-base-setup-state:
local.state.highstate:
- tgt: {{ minion_id }}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment