forked from DimensionDataResearch/salt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation for the Minion data cache
Includes docs for localfs and consul minion data cache modules
- Loading branch information
Showing
8 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.. _all-salt.cache: | ||
|
||
============= | ||
cache modules | ||
============= | ||
|
||
.. currentmodule:: salt.cache | ||
|
||
.. autosummary:: | ||
:toctree: | ||
:template: autosummary.rst.tmpl | ||
|
||
localfs | ||
consul |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
salt.cache.consul module | ||
======================== | ||
|
||
.. automodule:: salt.cache.consul | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
salt.cache.localfs module | ||
========================= | ||
|
||
.. automodule:: salt.cache.localfs | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.. _cache: | ||
|
||
================= | ||
Minion Data Cache | ||
================= | ||
|
||
The Minion Data Cache contains the Salt Mine data and other minion info cached | ||
on the Salt master. By default Salt uses the `localfs` cache module to save | ||
the data in a msgpack file on the Salt master. Other external data stores can | ||
also be used to store this data such as the `Consul` module. | ||
|
||
See :ref:`cache modules <all-salt.cache>` for a current list. | ||
|
||
|
||
Configuring the Minion Data Cache | ||
================================= | ||
|
||
The default `localfs` Minion data cache module doesn't require any | ||
configuration. External data cache modules with external data stores such as | ||
Consul require a configuration setting in the master config. | ||
|
||
Here's an exampls config for Consul: | ||
|
||
.. code-block:: yaml | ||
consul.host: 127.0.0.1 | ||
consul.port: 8500 | ||
consul.token: None | ||
consul.scheme: http | ||
consul.consistency: default | ||
consul.dc: dc1 | ||
consul.verify: True | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters