mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Document "grains" setting in the minion configuration reference
This commit is contained in:
parent
29333e533e
commit
e0d947c707
2 changed files with 24 additions and 1 deletions
|
@ -331,6 +331,29 @@ executed. By default this feature is disabled, to enable set cache_jobs to
|
|||
|
||||
cache_jobs: False
|
||||
|
||||
.. conf_minion:: grains
|
||||
|
||||
``grains``
|
||||
----------
|
||||
|
||||
Default: (empty)
|
||||
|
||||
.. seealso::
|
||||
:ref:`static-custom-grains`
|
||||
|
||||
Statically assigns grains to the minion.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
grains:
|
||||
roles:
|
||||
- webserver
|
||||
- memcache
|
||||
deployment: datacenter4
|
||||
cabinet: 13
|
||||
cab_u: 14-15
|
||||
|
||||
>>>>>>> Document "grains" setting in the minion configuration reference
|
||||
.. conf_minion:: grains_cache
|
||||
|
||||
``grains_cache``
|
||||
|
|
|
@ -73,7 +73,7 @@ Grains in the Minion Config
|
|||
===========================
|
||||
|
||||
Grains can also be statically assigned within the minion configuration file.
|
||||
Just add the option ``grains`` and pass options to it:
|
||||
Just add the option :conf_minion:`grains` and pass options to it:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue