mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge branch '2015.5' into merge-2015.8
No conflicts.
This commit is contained in:
commit
fbaeb165c9
@ -360,6 +360,28 @@ 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
|
||||
|
||||
.. 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…
Reference in New Issue
Block a user