mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add a doc on pillar targeting
This commit is contained in:
parent
59693d4607
commit
fb88767ae7
@ -127,3 +127,14 @@ locally. This is done with the ``saltutil.refresh_pillar`` function.
|
|||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
salt '*' saltutil.refresh_pillar
|
salt '*' saltutil.refresh_pillar
|
||||||
|
|
||||||
|
Targeting with Pillar
|
||||||
|
=====================
|
||||||
|
|
||||||
|
Pillar data can be used when targeting minions. This allows for the highest
|
||||||
|
level of complexity and granularity when targeting minions. Highly complicated
|
||||||
|
groupings can be made.
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
salt -I 'somekey:specialvalue' test.ping
|
||||||
|
Loading…
Reference in New Issue
Block a user