4d46c428d0
This updates the elasticsearch configuration file (and loading mechanism) for ELK 6.x. The default location for the configuration for all package distributions is /etc/elasticsearch[1], so now that is where we overwrite the elasticsearch.yml. The path.conf and path.scripts paths are no longer supported and will raise exceptions if utilized in 6.x. [1]: https://www.elastic.co/guide/en/elasticsearch/reference/6.x/settings.html#config-files-location Implements: blueprint elasticsearch-kibana-version-upgrade Depends-On: https://review.opendev.org/#/c/647748/ Change-Id: I4f74bfe07d4b7ca18953b11e767cf0bb94dfd67e
24 lines
641 B
Django/Jinja
24 lines
641 B
Django/Jinja
{
|
|
"command": "/usr/share/elasticsearch/bin/elasticsearch",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/elasticsearch.yml",
|
|
"dest": "/etc/elasticsearch/elasticsearch.yml",
|
|
"owner": "elasticsearch",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/elasticsearch",
|
|
"owner": "elasticsearch:elasticsearch",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/elasticsearch",
|
|
"owner": "elasticsearch:elasticsearch",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|