Add support for custom Elasticsearch config

Elasticsearch Curator will be driven by custom config. This adds
support in Kayobe for managing it.

Change-Id: Ie739ffbd67c6c26175f152449a7b7276ffa87824
Story: 2006852
Task: 37443
This commit is contained in:
Doug Szumski 2019-11-14 10:39:20 +00:00 committed by Pierre Riteau
parent 74da0d4531
commit 00002f25e1
4 changed files with 15 additions and 0 deletions

View File

@ -71,6 +71,12 @@ kolla_enable_designate:
# Free form extra configuration to append to designate.conf. # Free form extra configuration to append to designate.conf.
kolla_extra_designate: kolla_extra_designate:
###############################################################################
# Elasticsearch configuration.
# Whether to enable elasticsearch.
kolla_enable_elasticsearch:
############################################################################### ###############################################################################
# Glance configuration. # Glance configuration.

View File

@ -38,6 +38,7 @@ provisioner:
kolla_extra_designate: | kolla_extra_designate: |
[extra-designate.conf] [extra-designate.conf]
foo=bar foo=bar
kolla_enable_elasticsearch: true
kolla_enable_glance: true kolla_enable_glance: true
kolla_extra_glance: | kolla_extra_glance: |
[extra-glance.conf] [extra-glance.conf]

View File

@ -44,6 +44,11 @@ kolla_openstack_custom_config:
dest: "{{ kolla_node_custom_config_path }}/designate" dest: "{{ kolla_node_custom_config_path }}/designate"
patterns: "*" patterns: "*"
enabled: "{{ kolla_enable_designate }}" enabled: "{{ kolla_enable_designate }}"
# Elasticsearch.
- src: "{{ kolla_extra_config_path }}/elasticsearch"
dest: "{{ kolla_node_custom_config_path }}/elasticsearch"
patterns: "*"
enabled: "{{ kolla_enable_elasticsearch }}"
# Fluentd filters. # Fluentd filters.
- src: "{{ kolla_extra_config_path }}//fluentd/filter" - src: "{{ kolla_extra_config_path }}//fluentd/filter"
dest: "{{ kolla_node_custom_config_path }}/fluentd/filter" dest: "{{ kolla_node_custom_config_path }}/fluentd/filter"

View File

@ -0,0 +1,3 @@
features:
- |
Adds support for custom Elasticsearch configuration.