Ajouter 'linux/MesInstalls.sls'
This commit is contained in:
23
linux/MesInstalls.sls
Normal file
23
linux/MesInstalls.sls
Normal 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 %}
|
||||||
Reference in New Issue
Block a user