b34bec24443caf0dc76811052aa944839a45c210
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / ceilometer.yaml
1     mongodb:
2       charm: ./{{ ubuntu.release }}/mongodb
3       num_units: 1
4 {% if os.service.bindings %}
5       bindings:
6         "": *internal-space
7 {% endif %}
8       to:
9         - "lxd:nodes/0"
10     ceilometer:
11       charm: "./{{ ubuntu.release }}/ceilometer"
12       num_units: {{ unit_qty() }}
13 {% if os.service.bindings %}
14       bindings:
15         "": *oam-space
16         public: *public-space
17         admin: *admin-space
18         internal: *internal-space
19 {% endif %}
20       options:
21         openstack-origin: *openstack-origin
22         region: *openstack-region
23 {% if os.ha.mode == 'ha' %}
24         vip: {{ opnfv.vip.ceilometer }}
25 {% endif %}
26 {% if os.beta.public_api %}
27         os-public-hostname: api.{{ opnfv.domain }}
28 {% endif %}
29       to:
30 {% for unit_id in to_select() %}
31         - "lxd:nodes/{{ unit_id }}"
32 {% endfor %}