From 481984739ab315fed9e2764f01815a59ef171507 Mon Sep 17 00:00:00 2001 From: Colton Myers Date: Fri, 11 Oct 2013 16:24:38 -0600 Subject: [PATCH] Remove pillar matching for mine.get --- salt/modules/mine.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/salt/modules/mine.py b/salt/modules/mine.py index c0a78d379c..ae9725d052 100644 --- a/salt/modules/mine.py +++ b/salt/modules/mine.py @@ -135,7 +135,6 @@ def get(tgt, fun, expr_form='glob'): pcre grain grain_pcre - pillar CLI Example: @@ -144,6 +143,9 @@ def get(tgt, fun, expr_form='glob'): salt '*' mine.get '*' network.interfaces salt '*' mine.get 'os:Fedora' network.interfaces grain ''' + if expr_form.lower == 'pillar': + log.error('Pillar matching not supported on mine.get') + return '' auth = _auth() load = { 'cmd': '_mine_get',