mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #7770 from basepi/minepillar7197
Remove pillar matching for mine.get
This commit is contained in:
commit
ef95a2fc89
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user