Skip to content

Instantly share code, notes, and snippets.

@nesv

nesv/output Secret

Last active August 29, 2015 14:19
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 nesv/9fb11cf6ab1510f13119 to your computer and use it in GitHub Desktop.
Save nesv/9fb11cf6ab1510f13119 to your computer and use it in GitHub Desktop.
Salt reactor output
salt/wheel/20150424163322851037/ret {
"_stamp": "2015-04-24T20:33:23.844397",
"fun": "wheel.key.accept",
"jid": "20150424163322851037",
"return": "Exception occurred in wheel key.accept: Traceback (most recent call last):\n File \"/usr/lib/python2.7/dist-packages/salt/client/mixins.py\", line 295, in low\n f_call = salt.utils.format_call(self.functions[fun], low, expected_extra_kws=CLIENT_INTERNAL_KEYWORDS)\n File \"/usr/lib/python2.7/dist-packages/salt/utils/__init__.py\", line 799, in format_call\n '' if 'full' not in ret else ' Please update your state files.'\nSaltInvocationError: '__id__', 'state', 'order', 'name' and 'user' are invalid keyword arguments for salt.loaded.int.wheel.key.accept. If you were trying to pass additional data to be used in a template context, please populate 'context' with 'key: value' pairs.\n",
"success": false,
"user": "Reactor"
}
{% if data['id'].startswith('minion-prefix') and data['act'] == 'pend' %}
accept_minion_key:
wheel.key.accept:
- match: {{ data['id'] }}
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment