mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Remove pillar matching for mine.get
This commit is contained in:
parent
664a18a61d
commit
481984739a
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user