DOCS: add 2nd level header for advanced targeting methods

This commit is contained in:
Denys Havrysh 2017-02-28 16:23:53 +02:00
parent 3940321462
commit 1d86cf1161

View file

@ -33,7 +33,7 @@ be called to execute a function, or a specific kernel.
Calling via a grain is done by passing the -G option to salt, specifying
a grain and a glob expression to match the value of the grain. The syntax for
the target is the grain key followed by a globexpression: "os:Arch*".
the target is the grain key followed by a glob expression: "os:Arch*".
.. code-block:: bash
@ -48,7 +48,7 @@ grains.item salt function:
salt '*' grains.items
more info on using targeting with grains can be found :ref:`here
More info on using targeting with grains can be found :ref:`here
<targeting-grains>`.
Compound Targeting
@ -73,7 +73,7 @@ is used with ``G@`` as well as a regular expression with ``E@``. The
``webser*`` target does not need to be prefaced with a target type specifier
because it is a glob.
more info on using compound targeting can be found :ref:`here
More info on using compound targeting can be found :ref:`here
<targeting-compound>`.
Node Group Targeting
@ -94,6 +94,10 @@ shorthand for having to type out complicated compound expressions.
 group2: 'G@os:Debian and foo.domain.com'
 group3: 'G@os:Debian and N@group1'
Advanced Targeting Methods
==========================
There are many ways to target individual minions or groups of minions in Salt:
.. toctree::