cmodfiied to add juju 2.0 support.
[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       options:
10         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
11         region: {{ os.region }}
12 {% if os.ha.mode == 'ha' %}
13         vip: {{ opnfv.vip.ceilometer }}
14 {% endif %}
15 {% if os.beta.public_api %}
16         os-public-hostname: api.{{ opnfv.domain }}
17 {% endif %}
18       to:
19 {% for unit_id in to_select() %}
20         - "lxd:nodes/{{ unit_id }}"
21 {% endfor %}