mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add pillar_opts docs to master.rst
This commit is contained in:
parent
2cc650965a
commit
087564528d
1 changed files with 20 additions and 0 deletions
|
@ -2121,6 +2121,26 @@ configuration is the same as :conf_master:`file_roots`:
|
|||
prod:
|
||||
- /srv/pillar/prod
|
||||
|
||||
.. conf_master:: pillar_opts
|
||||
|
||||
``pillar_opts``
|
||||
---------------
|
||||
|
||||
Default: ``False``
|
||||
|
||||
The ``pillar_opts`` option adds the master configuration file data to a dict in
|
||||
the pillar called ``master``. This can be used to set simple configurations in
|
||||
the master config file that can then be used on minions.
|
||||
|
||||
Note that setting this option to ``True`` means the master config file will be
|
||||
included in all minion's pillars. While this makes global configuration of services
|
||||
and systems easy, it may not be desired if sensitive data is stored in the master
|
||||
configuration.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
pillar_opts: False
|
||||
|
||||
.. conf_master:: ext_pillar
|
||||
|
||||
``ext_pillar``
|
||||
|
|
Loading…
Add table
Reference in a new issue