mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add the indication that pillar_roots should not be subdirectories of file_roots, as that won't work, everywhere it looks relevant.
This commit is contained in:
parent
206f509c9a
commit
f6bd8415b3
3 changed files with 12 additions and 7 deletions
|
@ -5493,7 +5493,8 @@ be used for global configuration of minions.
|
|||
The pillar is built in a similar fashion as the state tree, it is comprised
|
||||
of sls files and has a top file, just like the state tree. The pillar is stored
|
||||
in a different location on the Salt master than the state tree. The default
|
||||
location for the pillar is in /srv/pillar.
|
||||
location for the pillar is in /srv/pillar. Putting the pillar in a subdirectory
|
||||
of the state tree will not work.
|
||||
.sp
|
||||
\fBNOTE:\fP
|
||||
.INDENT 0.0
|
||||
|
@ -10029,8 +10030,9 @@ pillar_roots:
|
|||
.UNINDENT
|
||||
.sp
|
||||
This example configuration declares that the base environment will be located
|
||||
in the \fB/srv/pillar\fP directory. The top file used matches the name of the top
|
||||
file used for States, and has the same structure:
|
||||
in the \fB/srv/pillar\fP directory. It must not be in a subdirectory of the
|
||||
state tree. The top file used matches the name of the top file used for States,
|
||||
and has the same structure:
|
||||
.sp
|
||||
\fB/srv/pillar/top.sls\fP
|
||||
.INDENT 0.0
|
||||
|
@ -93647,7 +93649,8 @@ When we are asked to update (regular interval) lets reap the cache
|
|||
# available to different minions based on minion grain filtering. The Salt
|
||||
# Pillar is laid out in the same fashion as the file server, with environments,
|
||||
# a top file and sls files. However, pillar data does not need to be in the
|
||||
# highstate format, and is generally just key/value pairs.
|
||||
# highstate format, and is generally just key/value pairs. The pillar_roots must
|
||||
# not be subdirectories of the file_roots.
|
||||
|
||||
#pillar_roots:
|
||||
# base:
|
||||
|
|
|
@ -38,8 +38,9 @@ is identical in behavior and function as :conf_master:`file_roots`:
|
|||
- /srv/pillar
|
||||
|
||||
This example configuration declares that the base environment will be located
|
||||
in the ``/srv/pillar`` directory. The top file used matches the name of the top
|
||||
file used for States, and has the same structure:
|
||||
in the ``/srv/pillar`` directory. It must not be in a subdirectory of the
|
||||
state tree. The top file used matches the name of the top file used for States,
|
||||
and has the same structure:
|
||||
|
||||
``/srv/pillar/top.sls``
|
||||
|
||||
|
|
|
@ -67,7 +67,8 @@ The default location for the pillar is in /srv/pillar.
|
|||
.. note::
|
||||
|
||||
The pillar location can be configured via the `pillar_roots` option inside
|
||||
the master configuration file.
|
||||
the master configuration file. It must not be in a subdirectory of the state
|
||||
tree.
|
||||
|
||||
To start setting up the pillar, the /srv/pillar directory needs to be present:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue