salt.sdb.consul module

Consul sdb Module

maintainer:SaltStack
maturity:New
platform:all

This module allows access to Consul using an sdb:// URI

Like all sdb modules, the Consul module requires a configuration profile to be configured in either the minion or master configuration file. This profile requires very little. For example:

The driver refers to the Consul module, all other options are optional. For option details see: https://python-consul.readthedocs.io/en/latest/#consul

salt.sdb.consul.get(key, profile=None)
salt.sdb.consul.get_conn(profile)

Return a client object for accessing consul

salt.sdb.consul.set(key, value, profile=None)

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2017.7.1

Previous topic

salt.sdb.confidant

Next topic

salt.sdb.couchdb