mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Document how to use ipcidr in pillar
This commit is contained in:
parent
97380f7481
commit
78b8353d51
@ -36,6 +36,15 @@ def compound(tgt, minion_id=None):
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' match.compound 'L@cheese,foo and *'
|
||||
|
||||
delimiter
|
||||
Pillar Example:
|
||||
|
||||
.. code-block:: yaml
|
||||
'172.16.0.0/12':
|
||||
- match: ipcidr
|
||||
- nodeclass: internal
|
||||
|
||||
'''
|
||||
opts = {'grains': __grains__}
|
||||
if minion_id is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user