Fixed option 'master_roots' in config and docs

This commit is contained in:
Nico 2020-02-05 16:44:00 +00:00
parent 81eb152643
commit 3a8baebf3e
2 changed files with 9 additions and 3 deletions

View file

@ -671,7 +671,9 @@
# The master_roots setting configures a master-only copy of the file_roots dictionary,
# used by the state compiler.
#master_roots: /srv/salt-master
#master_roots:
# base:
# - /srv/salt-master
# When using multiple environments, each with their own top file, the
# default behaviour is an unordered merge. To prevent top files from

View file

@ -2629,14 +2629,18 @@ nothing is ignored.
``master_roots``
----------------
Default: ``/srv/salt-master``
Default: ``''``
A master-only copy of the :conf_master:`file_roots` dictionary, used by the
state compiler.
Example:
.. code-block:: yaml
master_roots: /srv/salt-master
master_roots:
base:
- /srv/salt-master
roots: Master's Local File Server
---------------------------------