diff options
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/aodh.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundle_tpl/aodh.yaml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml index 1c297ce2..0553ff8f 100644 --- a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml @@ -1,6 +1,6 @@ aodh: charm: "./{{ ubuntu.release }}/aodh" - num_units: 1 + num_units: {{ unit_qty() }} {% if os.service.bindings %} bindings: "": *oam-space @@ -9,8 +9,22 @@ internal: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin +{% if os.ha.mode == 'ha' %} + vip: *aodh-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_aodh_public + os-internal-hostname: *hostname_aodh_public + os-admin-hostname: *hostname_aodh_public +{% endif %} to: - - "lxd:nodes/0" +{% for unit_id in to_select() %} + - "lxd:nodes/{{ unit_id }}" +{% endfor %} {# Empty block to avoid bad block trim #} |