Module to integrate with the returner system and retrieve data sent to a salt returner
salt.modules.ret.
get_fun
(returner, fun)¶Return info about last time fun was called on each minion
CLI 范例:
salt '*' ret.get_fun mysql network.interfaces
salt.modules.ret.
get_jid
(returner, jid)¶Return the information for a specified job id
CLI 范例:
salt '*' ret.get_jid redis 20421104181954700505
salt.modules.ret.
get_jids
(returner)¶Return a list of all job ids
CLI 范例:
salt '*' ret.get_jids mysql
salt.modules.ret.
get_minions
(returner)¶Return a list of all minions
CLI 范例:
salt '*' ret.get_minions mysql