Recopie initiale

This commit is contained in:
Iwan Clement
2018-05-21 13:03:35 +02:00
commit 3f39bfa01d
319 changed files with 1543 additions and 0 deletions

35
linux/MesInstalls.sls Normal file
View File

@@ -0,0 +1,35 @@
{% set Champ = grains['host'] %}
{% if Champ.startswith('CT-cen-elastic') %}
# Installation du package ElasticSearch https-transport:
# pkg.installed:
# - name: {{ pillar['installtransport'] }}
Installation du package ElasticSearch OpenJDK:
pkg.installed:
- name: {{ pillar['installjdk'] }}
# - name: salt['pillar.get']
Installons ElasticSearch:
cmd.script:
- source: salt://elastic/elastic_install.sh
- user: root
- group: root
- shell: /bin/bash
{% elif Champ.startswith('CT-deb-nodejs') %}
Installons Node-JS:
cmd.script:
- source: salt://files/debian_install_nodejs.sh
- user: root
- group: root
- shell: /bin/bash
Installons Nodered:
cmd.script:
- source: salt://files/install_nodered.sh
- user: root
- group: root
- shell: /bin/bash
{% endif %}