22.23.3.1.16. salt.returners.redis_return

Return data to a redis server

To enable this returner the minion will need the python client for redis installed and the following values configured in the minion or master config, these are the defaults:

redis.db: '0' redis.host: 'salt' redis.port: 6379

To use the redis returner, append '--return redis' to the salt command. ex:

salt '*' test.ping --return redis
salt.returners.redis_return.get_fun(fun)

Return a dict of the last function called for all minions

salt.returners.redis_return.get_jid(jid)

Return the information returned when the specified job id was executed

salt.returners.redis_return.get_jids()

Return a list of all job ids

salt.returners.redis_return.get_load(jid)

Return the load data that marks a specified jid

salt.returners.redis_return.get_minions()

Return a list of minions

salt.returners.redis_return.prep_jid(nocache, passed_jid=None)

Do any work necessary to prepare a JID, including sending a custom id

salt.returners.redis_return.returner(ret)

Return data to a redis data store

salt.returners.redis_return.save_load(jid, load)

Save the load to the specified jid

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Previous topic

22.23.3.1.15. salt.returners.postgres

Next topic

22.23.3.1.17. salt.returners.sentry_return

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.