|
|
|
|
|
|
|
|
name: minion |
|
|
name: minion |
|
|
param: |
|
|
param: |
|
|
version: |
|
|
version: |
|
|
value: {{ salt['cmd.run']('salt-minion --version')|replace('salt-minion ', '') }} |
|
|
|
|
|
|
|
|
value: {{ salt['cmd.shell']('salt-minion --version')|replace('salt-minion ', '') }} |
|
|
{%- endif %} |
|
|
{%- endif %} |
|
|
{%- if pillar.salt.master is defined %} |
|
|
{%- if pillar.salt.master is defined %} |
|
|
{%- from "salt/map.jinja" import master with context %} |
|
|
{%- from "salt/map.jinja" import master with context %} |
|
|
|
|
|
|
|
|
name: master |
|
|
name: master |
|
|
param: |
|
|
param: |
|
|
version: |
|
|
version: |
|
|
value: {{ salt['cmd.run']('salt --version')|replace('salt ', '') }} |
|
|
|
|
|
|
|
|
value: {{ salt['cmd.shell']('salt --version')|replace('salt ', '') }} |
|
|
{%- endif %} |
|
|
{%- endif %} |