New in version 2014.1.0: (Hydrogen)
Add a key to the memcached server, but only if it does not exist. Returns False if the key already exists.
CLI Example:
salt '*' memcached.add <key> <value>
Decrement the value of a key
CLI Example:
salt '*' memcached.decrement <key>
salt '*' memcached.decrement <key> 2
Delete a key from memcache server
CLI Example:
salt '*' memcached.delete <key>
Retrieve value for a key
CLI Example:
salt '*' memcached.get <key>
Increment the value of a key
CLI Example:
salt '*' memcached.increment <key>
salt '*' memcached.increment <key> 2
Replace a key on the memcached server. This only succeeds if the key already exists. This is the opposite of memcached.add
CLI Example:
salt '*' memcached.replace <key> <value>
Set a key on the memcached server, overwriting the value if it exists.
CLI Example:
salt '*' memcached.set <key> <value>
Get memcached status
CLI Example:
salt '*' memcached.status
Current Salt release: 2014.1.6
Docs for previous releases on salt.rtfd.org.