From db03e1a38b25f8ecb2b0d7ed66d1d3b0938066e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Mon, 19 Feb 2018 19:27:13 +0000 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'linux/MesInstalls.sls?= =?UTF-8?q?'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linux/MesInstalls.sls | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/linux/MesInstalls.sls b/linux/MesInstalls.sls index 2f25a59..65dc34f 100644 --- a/linux/MesInstalls.sls +++ b/linux/MesInstalls.sls @@ -1,23 +1,19 @@ -{% if grains['oscodename'] == 'stretch' %} - {% if grains['virtual'] == 'LXC' %} - {% if grains['id'] == 'CT-deb-elastic*' %} - Installation du packages ElasticSearch OpenJDK: - pkg.installed: - - name: {{ pillar['installjdk'] }} +{% 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 packages ElasticSearch https-transport: + pkg.installed: + - name: {{ pillar['installtransport'] }} - Installation du package CURL: - pkg.installed: - - name: curl + 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 + 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