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
Generated on July 18, 2017 at 06:45:48 MDT.
You are viewing docs for the previous stable release, 2016.3.6. Switch to docs for the latest stable release, 2016.11.6, or to a recent doc build from the develop branch.
© 2017 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy