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