Return data to a memcache server
To enable this returner the minion will need the python client for memcache installed and the following values configured in the minion or master config, these are the defaults:
memcache.host: 'localhost' memcache.port: '11211'
python2-memcache uses 'localhost' and '11211' as syntax on connection.
salt.returners.memcache_return.
get_fun
(fun)¶Return a dict of the last function called for all minions
salt.returners.memcache_return.
get_jid
(jid)¶Return the information returned when the specified job id was executed
salt.returners.memcache_return.
get_jids
()¶Return a list of all job ids
salt.returners.memcache_return.
get_load
(jid)¶Return the load data that marks a specified jid
salt.returners.memcache_return.
get_minions
()¶Return a list of minions
salt.returners.memcache_return.
prep_jid
(nocache, passed_jid=None)¶Do any work necessary to prepare a JID, including sending a custom id
salt.returners.memcache_return.
returner
(ret)¶Return data to a memcache data store
salt.returners.memcache_return.
save_load
(jid, load)¶Save the load to the specified jid