Skip to content

Commit

Permalink
feat(libsaltcli): update salt-ssh detection for enable_ssh_minions
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Apr 19, 2020
1 parent 0b6c6d2 commit 16ec994
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length rule:quoted-strings
title: "test: verify map output using '`'yaml_dump'`'"
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/159'
title: "fix(libsaltcli): update '`'salt-ssh'`' detection for '`'enable_ssh_minions'`'"
body: '* Automated using https://github.com/myii/ssf-formula/pull/161'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down
2 changes: 1 addition & 1 deletion ssf/files/default/formula/libsaltcli.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{%- if opts_cli == 'salt-minion' %}
{%- set cli = 'minion' %}
{%- elif opts_cli == 'salt-call' %}
{%- set cli = 'ssh' if opts_masteropts_cli == 'salt-ssh' else 'local' %}
{%- set cli = 'ssh' if opts_masteropts_cli in ('salt-ssh', 'salt-master') else 'local' %}
{%- else %}
{%- set cli = 'unknown' %}
{%- endif %}
Expand Down

0 comments on commit 16ec994

Please sign in to comment.