salt-ssh + grains.filter_by Type error: filter_by() got an unexpected keyword argument 'base' #33911
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
fixed-pls-verify
fix is linked, bug author to confirm fix
Grains
P4
Priority 4
Salt-SSH
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description of Issue/Question
Using
salt['grains.filter_by']()
over salt-ssh goes via this supposed wrapper /client/ssh/wrapper/grains.py#L141 -- which indeed has no 'base' kwarg.One can see none of the other functions are wrappers either, but a copy-paste made some time ago that diverged from new developments.
Ironically, using
salt['grains'].filter_by()
orsalt.grains.filter_by()
does not go through the wrapper and works just fine.Setup
example.sls
Steps to Reproduce Issue
Use the above snippet over salt-ssh.
Versions Report
Salt: 2016.3.0
The text was updated successfully, but these errors were encountered: