mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-10-08 10:02:17 +02:00
fix(libmatchers): python client API can use config.get options
Only `salt-ssh` can't use them actually. * openssh/libsaltcli.jinja: detect non empty `opts['__cli']` as `api`. * openssh/libmatchers.jinja: only `ssh` and `unknown` can't use `config.get` options `merge` and `delimiter`.
This commit is contained in:
1 parent
eede9fa54c
commit
560a5ccbbc
2 files changed
+5
-3
No files matched your search
@@ -10,6 +10,8 @@
|
||||
{%- set cli = 'minion' %}
|
||||
{%- elif opts_cli == 'salt-call' %}
|
||||
{%- set cli = 'ssh' if opts_masteropts_cli in ('salt-ssh', 'salt-master') else 'local' %}
|
||||
{%- elif opts_cli %}
|
||||
{%- set cli = 'api' %}
|
||||
{%- else %}
|
||||
{%- set cli = 'unknown' %}
|
||||
{%- endif %}
|
||||
|
||||
Reference in new issue
Block a user