Ajouter 'linux/MesInstalls.sls'

This commit is contained in:
Iwan Clément
2018-02-19 19:24:26 +00:00
parent b015c8eca1
commit 11a1d20d06

23
linux/MesInstalls.sls Normal file
View File

@@ -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 %}