Skip to content

Commit

Permalink
Merge branch '2015.5' into merge-2015.8
Browse files Browse the repository at this point in the history
No conflicts.
  • Loading branch information
rallytime committed Apr 13, 2016
2 parents 1834bde + 7307bcb commit fbaeb16
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions doc/ref/configuration/minion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down
2 changes: 1 addition & 1 deletion doc/topics/targeting/grains.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbaeb16

Please sign in to comment.