Navigation Menu

Skip to content

Commit

Permalink
module(mine): document that compount matching works
Browse files Browse the repository at this point in the history
I just tried it on 2014.1.0. This fixes #6041.
  • Loading branch information
JensRantil committed Apr 11, 2014
1 parent 6ecb174 commit dd69825
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/modules/mine.py
Expand Up @@ -153,13 +153,15 @@ def get(tgt, fun, expr_form='glob'):
pcre
grain
grain_pcre
compound
CLI Example:
.. code-block:: bash
salt '*' mine.get '*' network.interfaces
salt '*' mine.get 'os:Fedora' network.interfaces grain
salt '*' mine.get 'os:Fedora and S@192.168.5.0/24' network.ipaddrs compound
'''
if expr_form.lower == 'pillar':
log.error('Pillar matching not supported on mine.get')
Expand Down

0 comments on commit dd69825

Please sign in to comment.