22.25.1.20. salt.runners.sdb

Runner for setting and querying data via the sdb API on the master

salt.runners.sdb.get(uri)

Get a value from a db, using a uri in the form of sdb://<profile>/<key>. If the uri provided does not start with sdb://, then it will be returned as-is.

CLI Example:

salt '*' sdb.get sdb://mymemcached/foo
salt.runners.sdb.set_(uri, value)

Set a value in a db, using a uri in the form of sdb://<profile>/<key>. If the uri provided does not start with sdb:// or the value is not successfully set, return False.

CLI Example:

salt '*' sdb.set sdb://mymemcached/foo bar

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2014.7.2

Previous topic

22.25.1.19. salt.runners.queue

Next topic

22.25.1.21. salt.runners.search