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