salt.modules.sdb

Module for Manipulating Data via the Salt DB API

salt.modules.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.modules.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