- salt | - salt | ||||
- git | - git | ||||
- openssh | - openssh | ||||
classes: | |||||
- service.salt.support | |||||
parameters: | parameters: | ||||
salt: | salt: | ||||
master: | master: |
- salt | - salt | ||||
- git | - git | ||||
- openssh | - openssh | ||||
classes: | |||||
- service.salt.support | |||||
parameters: | parameters: | ||||
_param: | _param: | ||||
salt_master_base_environment: dev | salt_master_base_environment: dev |
applications: | applications: | ||||
- salt | - salt | ||||
classes: | |||||
- service.salt.support | |||||
parameters: | parameters: | ||||
salt: | salt: | ||||
minion: | minion: |
applications: | applications: | ||||
- salt | - salt | ||||
classes: | |||||
- service.salt.support | |||||
parameters: | parameters: | ||||
salt: | salt: | ||||
minion: | minion: |
applications: | applications: | ||||
- salt | - salt | ||||
classes: | |||||
- service.salt.support | |||||
parameters: | parameters: | ||||
salt: | salt: | ||||
minion: | minion: |
parameters: | |||||
salt: | |||||
_support: | |||||
collectd: | |||||
enabled: false | |||||
heka: | |||||
enabled: false | |||||
sensu: | |||||
enabled: true | |||||
sphinx: | |||||
enabled: true |
local_salt_master_proc: | |||||
command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C salt-master -u root -c 1:10" | |||||
interval: 60 | |||||
occurrences: 1 | |||||
subscribers: | |||||
- local-salt-master | |||||
local_salt_minion_proc: | |||||
command: "PATH=$PATH:/usr/lib64/nagios/plugins:/usr/lib/nagios/plugins check_procs -C salt-minion -u root -c 1:10" | |||||
interval: 60 | |||||
occurrences: 1 | |||||
subscribers: | |||||
- local-salt-minion |
{%- set server = pillar.sphinx.server %} | |||||
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. | |||||
role: | |||||
{%- if pillar.salt.minion is defined %} | |||||
minion: | |||||
name: minion | |||||
param: | |||||
version: | |||||
value: {{ salt['cmd.run']('salt-minion --version')|replace('salt-minion ', '') }} | |||||
{%- endif %} |