blob: 33247f703071e8dd2090603116e82d4d2d2c54ce (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
gnocchi:
charm: ./{{ ubuntu.release }}/gnocchi
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
{% if os.ha.mode == 'ha' %}
vip: *gnocchi-vip
{% endif %}
{% if os.api.ssl %}
ssl_ca: *ssl_ca
ssl_cert: *ssl_cert
ssl_key: *ssl_key
os-public-hostname: *hostname_gnocchi_public
os-internal-hostname: *hostname_gnocchi_public
os-admin-hostname: *hostname_gnocchi_public
{% endif %}
to:
{% for unit_id in to_select() %}
- "lxd:nodes/{{ unit_id }}"
{% endfor %}
memcached:
charm: ./{{ ubuntu.release }}/memcached
num_units: 2
{% if os.service.bindings %}
bindings:
"": *internal-space
{% endif %}
series: {{ ubuntu.release }}
options:
allow-ufw-ip6-softfail: True
to:
- "designate-bind/0"
- "designate-bind/1"
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: *ceilometer-vip
{% endif %}
{% if os.api.ssl %}
ssl_ca: *ssl_ca
ssl_cert: *ssl_cert
ssl_key: *ssl_key
os-public-hostname: *hostname_ceilometer_public
os-internal-hostname: *hostname_ceilometer_public
os-admin-hostname: *hostname_ceilometer_public
{% endif %}
to:
{% for unit_id in to_select() %}
- "lxd:nodes/{{ unit_id }}"
{% endfor %}
|