Skip to content

Instantly share code, notes, and snippets.

@footprns
Created June 6, 2020 08:00
Show Gist options
  • Save footprns/17533fab45f72e40d09643aec9597a1d to your computer and use it in GitHub Desktop.
Save footprns/17533fab45f72e40d09643aec9597a1d to your computer and use it in GitHub Desktop.
External Returner
mysql> select * from salt_returns limit 0, 1;
+-----------+----------------------+--------+----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
| fun | jid | return | id | success | full_ret | alter_time |
+-----------+----------------------+--------+----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
| test.ping | 20200606064640834819 | true | syndic01 | 1 | {"jid": "20200606064640834819", "id": "syndic01", "return": true, "retcode": 0, "success": true, "fun": "test.ping", "fun_args": null, "_stamp": "2020-06-06T06:46:41.138203"} | 2020-06-06 06:46:41 |
+-----------+----------------------+--------+----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+
1 row in set (0.00 sec)
mysql>
mysql> select * from jids limit 0, 1;
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| jid | load |
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 20200606064640834819 | {"cmd": "publish", "tgt": "*", "fun": "test.ping", "arg": [], "tgt_type": "glob", "ret": "", "jid": "20200606064640834819", "kwargs": {"show_timeout": true, "show_jid": false, "delimiter": ":"}, "user": "sudo_ubuntu", "to": 5} |
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.01 sec)
mysql>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment