Mettre à jour 'linux/MesInstalls.sls'

This commit is contained in:
Iwan Clément
2018-02-19 19:27:13 +00:00
parent 11a1d20d06
commit db03e1a38b

View File

@@ -1,23 +1,19 @@
{% if grains['oscodename'] == 'stretch' %} {% if grains['id'] == 'CT-deb-elastic*' %}
{% if grains['virtual'] == 'LXC' %} Installation du packages ElasticSearch OpenJDK:
{% if grains['id'] == 'CT-deb-elastic*' %} pkg.installed:
Installation du packages ElasticSearch OpenJDK: - name: {{ pillar['installjdk'] }}
pkg.installed:
- name: {{ pillar['installjdk'] }}
Installation du packages ElasticSearch https-transport: Installation du packages ElasticSearch https-transport:
pkg.installed: pkg.installed:
- name: {{ pillar['installtransport'] }} - name: {{ pillar['installtransport'] }}
Installation du package CURL: Installation du package CURL:
pkg.installed: pkg.installed:
- name: curl - name: curl
Test de copie de fichier: Test de copie de fichier:
file.managed: file.managed:
- name: /tmp/elastic-install.sh - name: /tmp/elastic-install.sh
- source: salt://elastic/elastic_install.sh - source: salt://elastic/elastic_install.sh
{% endif %}
{% endif %}
{% endif %} {% endif %}