32 lines
763 B
Plaintext
32 lines
763 B
Plaintext
pkg.upgrade:
|
|
module.run:
|
|
- refresh: True
|
|
|
|
include:
|
|
- linux.MesPaquets
|
|
- linux.MesAdmins
|
|
|
|
{% 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 %}
|