|
|
|
|
|
|
|
|
{%- set server = pillar.sphinx.server %} |
|
|
|
|
|
name: Salt |
|
|
name: Salt |
|
|
description: Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds. |
|
|
description: Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds. |
|
|
role: |
|
|
role: |
|
|
{%- if pillar.salt.minion is defined %} |
|
|
{%- if pillar.salt.minion is defined %} |
|
|
|
|
|
{%- from "salt/map.jinja" import minion with context %} |
|
|
minion: |
|
|
minion: |
|
|
name: minion |
|
|
name: minion |
|
|
param: |
|
|
param: |
|
|
|
|
|
|
|
|
value: {{ salt['cmd.run']('salt-minion --version')|replace('salt-minion ', '') }} |
|
|
value: {{ salt['cmd.run']('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 %} |
|
|
master: |
|
|
master: |
|
|
name: master |
|
|
name: master |
|
|
param: |
|
|
param: |