Minion data cache plugin for Etcd key/value data store.
New in version develop.
It is up to the system administrator to set up and configure the Etcd infrastructure. All is needed for this plugin is a working Etcd agent with a read-write access to the key-value store.
The related documentation can be found in the Etcd documentation.
To enable this cache plugin, the master will need the python client for Etcd installed. This can be easily installed with pip:
Optionally, depending on the Etcd agent configuration, the following values could be set in the master config. These are the defaults:
etcd.host: 127.0.0.1 etcd.port: 2379 etcd.protocol: http etcd.allow_reconnect: True etcd.allow_redirect: False etcd.srv_domain: None etcd.read_timeout: 60 etcd.username: None etcd.password: None etcd.cert: None etcd.ca_cert: None
Related docs could be found in the python-etcd documentation.
To use the etcd as a minion data cache backend, set the master
cache config value to
Checks if the specified bank contains the specified key.
Fetch a key value.
Remove the key from the cache bank with all the key content.
Return an iterable object containing all entries stored in the specified bank.
Store a key value.
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.