salt.modules.sdb.
delete
(uri)¶Delete a value from 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 deleted, return False
.
CLI Example:
salt '*' sdb.delete sdb://mymemcached/foo
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 April 03, 2018 at 06:37:10 MDT.
You are viewing docs for the previous stable release, 2016.11.9. Switch to docs for the latest stable release, 2017.7.4, or to a recent doc build from the develop branch.
© 2018 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy