Document how to use ipcidr in pillar

This commit is contained in:
Gabriel Fornaeus 2015-02-16 11:01:02 +01:00
parent 97380f7481
commit 78b8353d51

View File

@ -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: