Kaynağa Gözat

New metadata definitions

tags/0.4
Ales Komarek 9 yıl önce
ebeveyn
işleme
77c5fd9eca
8 değiştirilmiş dosya ile 44 ekleme ve 0 silme
  1. +2
    -0
      metadata/service/master/cluster.yml
  2. +2
    -0
      metadata/service/master/single.yml
  3. +2
    -0
      metadata/service/minion/cluster.yml
  4. +2
    -0
      metadata/service/minion/local.yml
  5. +2
    -0
      metadata/service/minion/master.yml
  6. +11
    -0
      metadata/support.yml
  7. +12
    -0
      salt/meta/sensu.yml
  8. +11
    -0
      salt/meta/sphinx.yml

+ 2
- 0
metadata/service/master/cluster.yml Dosyayı Görüntüle

@@ -2,6 +2,8 @@ applications:
- salt
- git
- openssh
classes:
- service.salt.support
parameters:
salt:
master:

+ 2
- 0
metadata/service/master/single.yml Dosyayı Görüntüle

@@ -2,6 +2,8 @@ applications:
- salt
- git
- openssh
classes:
- service.salt.support
parameters:
_param:
salt_master_base_environment: dev

+ 2
- 0
metadata/service/minion/cluster.yml Dosyayı Görüntüle

@@ -1,5 +1,7 @@
applications:
- salt
classes:
- service.salt.support
parameters:
salt:
minion:

+ 2
- 0
metadata/service/minion/local.yml Dosyayı Görüntüle

@@ -1,5 +1,7 @@
applications:
- salt
classes:
- service.salt.support
parameters:
salt:
minion:

+ 2
- 0
metadata/service/minion/master.yml Dosyayı Görüntüle

@@ -1,5 +1,7 @@
applications:
- salt
classes:
- service.salt.support
parameters:
salt:
minion:

+ 11
- 0
metadata/support.yml Dosyayı Görüntüle

@@ -0,0 +1,11 @@
parameters:
salt:
_support:
collectd:
enabled: false
heka:
enabled: false
sensu:
enabled: true
sphinx:
enabled: true

+ 12
- 0
salt/meta/sensu.yml Dosyayı Görüntüle

@@ -0,0 +1,12 @@
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

+ 11
- 0
salt/meta/sphinx.yml Dosyayı Görüntüle

@@ -0,0 +1,11 @@
{%- 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 %}

Yükleniyor…
İptal
Kaydet