summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
blob: 49bd4f7d31413fe3dfb29972e3443ef8a3c7030b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    mongodb:
      charm: ./{{ ubuntu.release }}/mongodb
      num_units: 1
      constraints: *oam-space-constr
{% if os.service.bindings %}
      bindings:
        "": *internal-space
{% endif %}
      to:
        - "lxd:nodes/0"
    ceilometer:
      charm: "./{{ ubuntu.release }}/ceilometer"
      num_units: {{ unit_qty() }}
{% if os.service.bindings %}
      bindings:
        "": *oam-space
        public: *public-space
        admin: *admin-space
        internal: *internal-space
{% endif %}
      options:
        openstack-origin: *openstack-origin
        region: *openstack-region
{% if os.ha.mode == 'ha' %}
        vip: {{ opnfv.vip.ceilometer }}
{% endif %}
      to:
{% for unit_id in to_select() %}
        - "lxd:nodes/{{ unit_id }}"
{% endfor %}