Remove pillar matching for mine.get

This commit is contained in:
Colton Myers 2013-10-11 16:24:38 -06:00
parent 664a18a61d
commit 481984739a

View File

@ -135,7 +135,6 @@ def get(tgt, fun, expr_form='glob'):
pcre pcre
grain grain
grain_pcre grain_pcre
pillar
CLI Example: CLI Example:
@ -144,6 +143,9 @@ def get(tgt, fun, expr_form='glob'):
salt '*' mine.get '*' network.interfaces salt '*' mine.get '*' network.interfaces
salt '*' mine.get 'os:Fedora' network.interfaces grain 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() auth = _auth()
load = { load = {
'cmd': '_mine_get', 'cmd': '_mine_get',