config.get does not support merge option with salt-ssh #56441
Labels
Bug
broken, incorrect, or confusing behavior
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description of Issue
Trying to use the
merge
option ofsalt.modules.config.get
withsalt-ssh
results in the following error:Compared to the documentation, my tests showed me that only the
default
parameter is supported withsalt-ssh
.This complicate a lot writing states usable in all circumstances, for example:
map.jinja
): use pillar/config.get
according to__cli
option saltstack-formulas/template-formula#102Note that it's not similar to #44693 since we are using
salt['config.get']
syntax insls
files. Only the handling of options is different.A quick
grep
showed me thatsalt-ssh
is using a wrapper which does not support all options of the original.Setup
Nothing particular, I just configured my roster:
Steps to Reproduce Issue
Execute with
salt-ssh
the commandconfig.get os_family merge=recurse
.Versions Report
The text was updated successfully, but these errors were encountered: