diff --git a/salt/modules/match.py b/salt/modules/match.py index a8696acc80..cca74be188 100644 --- a/salt/modules/match.py +++ b/salt/modules/match.py @@ -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: