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'
Alternative configuration values can be used by prefacing the configuration. Any values not found in the alternative configuration will be pulled from the default location.
alternative.memcache.host: 'localhost'
alternative.memcache.port: '11211'
python2-memcache uses 'localhost' and '11211' as syntax on connection.
To use the memcache returner, append '--return memcache' to the salt command.
salt '*' test.ping --return memcache
To use the alternative configuration, append '--return_config alternative' to the salt command.
New in version 2015.5.0.
salt '*' test.ping --return memcache --return_config alternative
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