mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
updated nodegroups.rst
fixed formatting issues
This commit is contained in:
parent
f2a6bc94df
commit
e79a930f57
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ To use Nodegroups in Jinja logic for SLS files, the :conf_master:'pillar_opts' o
|
|||
Once pillar_opts is enabled, you can find the nodegroups under the "master" pillar. To make sure that only the correct minions are targeted, you should use each matcher for the nodegroup definition.
|
||||
For example, to check if a minion is in the 'webserver' nodegroup:
|
||||
.. code-block:: yaml
|
||||
|
||||
nodegroups:
|
||||
webserver: 'G@os:Debian and L@minion1,minion2'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue