From 11a1d20d06d374f4fcfe6ec9cef123173732778f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Mon, 19 Feb 2018 19:24:26 +0000 Subject: [PATCH] Ajouter 'linux/MesInstalls.sls' --- linux/MesInstalls.sls | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 linux/MesInstalls.sls diff --git a/linux/MesInstalls.sls b/linux/MesInstalls.sls new file mode 100644 index 0000000..2f25a59 --- /dev/null +++ b/linux/MesInstalls.sls @@ -0,0 +1,23 @@ +{% if grains['oscodename'] == 'stretch' %} + {% if grains['virtual'] == 'LXC' %} + {% if grains['id'] == 'CT-deb-elastic*' %} + Installation du packages ElasticSearch OpenJDK: + pkg.installed: + - name: {{ pillar['installjdk'] }} + + Installation du packages ElasticSearch https-transport: + pkg.installed: + - name: {{ pillar['installtransport'] }} + + Installation du package CURL: + pkg.installed: + - name: curl + + Test de copie de fichier: + file.managed: + - name: /tmp/elastic-install.sh + - source: salt://elastic/elastic_install.sh + + {% endif %} + {% endif %} +{% endif %} \ No newline at end of file