Memcached sdb Module
| maintainer: | SaltStack |
|---|---|
| maturity: | New |
| depends: | python-memcached |
| platform: | all |
This module allows access to memcached using an sdb:// URI. This
package is located at https://pypi.python.org/pypi/python-memcached.
Like all sdb modules, the memcached module requires a configuration profile to be configured in either the minion or master configuration file. This profile requires very little. In the example:
mymemcache:
driver: memcached
host: localhost
port: 11211
The driver refers to the memcached module, host and port the
memcached server to connect to (defaults to localhost and 11211,
and mymemcached refers to the name that will appear in the URI:
password: sdb://mymemcached/mykey
salt.sdb.memcached.get(key, profile=None)¶Get a value from memcached
salt.sdb.memcached.set_(key, value, profile=None)¶Set a key/value pair in memcached
Docs for previous releases are available on readthedocs.org.
Latest Salt release: 2018.3.3