mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-06 02:15:20 +00:00
Merge pull request #183 from rbkmoney/add_san_to_es_certs
Add san to es certs
This commit is contained in:
commit
c61163bdca
@ -15,6 +15,7 @@ create-elasticsearch-keystore:
|
|||||||
cmd.run:
|
cmd.run:
|
||||||
- env:
|
- env:
|
||||||
- ES_PATH_CONF: /etc/elasticsearch
|
- ES_PATH_CONF: /etc/elasticsearch
|
||||||
|
- JAVA_HOME: /etc/java-config-2/current-system-vm
|
||||||
- name: /usr/share/elasticsearch/bin/elasticsearch-keystore create -s
|
- name: /usr/share/elasticsearch/bin/elasticsearch-keystore create -s
|
||||||
- creates: /etc/elasticsearch/elasticsearch.keystore
|
- creates: /etc/elasticsearch/elasticsearch.keystore
|
||||||
- require:
|
- require:
|
||||||
|
@ -23,6 +23,7 @@ update-elasticsearch-keystore:
|
|||||||
cmd.run:
|
cmd.run:
|
||||||
- env:
|
- env:
|
||||||
- ES_PATH_CONF: /etc/elasticsearch
|
- ES_PATH_CONF: /etc/elasticsearch
|
||||||
|
- JAVA_HOME: /etc/java-config-2/current-system-vm
|
||||||
- name: "cat /etc/elasticsearch/s3_access | /usr/share/elasticsearch/bin/elasticsearch-keystore add --stdin --force s3.client.default.access_key && cat /etc/elasticsearch/s3_secret | /usr/share/elasticsearch/bin/elasticsearch-keystore add --stdin --force s3.client.default.secret_key"
|
- name: "cat /etc/elasticsearch/s3_access | /usr/share/elasticsearch/bin/elasticsearch-keystore add --stdin --force s3.client.default.access_key && cat /etc/elasticsearch/s3_secret | /usr/share/elasticsearch/bin/elasticsearch-keystore add --stdin --force s3.client.default.secret_key"
|
||||||
- require:
|
- require:
|
||||||
- pkg: app-misc/elasticsearch
|
- pkg: app-misc/elasticsearch
|
||||||
|
Loading…
Reference in New Issue
Block a user