From 8cc46e65c20745e241b68b3d960fc3c96d64b970 Mon Sep 17 00:00:00 2001 From: David Blaisonneau Date: Thu, 30 Jun 2016 18:43:58 +0200 Subject: [JOID] generate bundle using jinja templates Signed-off-by: David Blaisonneau --- ci/bundle_tpl/ceilometer.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ci/bundle_tpl/ceilometer.yaml (limited to 'ci/bundle_tpl/ceilometer.yaml') diff --git a/ci/bundle_tpl/ceilometer.yaml b/ci/bundle_tpl/ceilometer.yaml new file mode 100644 index 00000000..f76a7c7d --- /dev/null +++ b/ci/bundle_tpl/ceilometer.yaml @@ -0,0 +1,17 @@ + ceilometer-agent: + charm: "local:{{ ubuntu.release }}/ceilometer-agent" + mongodb: + charm: local:{{ ubuntu.release }}/mongodb + to: + - "lxc:nodes=0" + ceilometer: + charm: "local:{{ ubuntu.release }}/ceilometer" + num_units: {{ unit_qty() }} + options: +{% if os.ha.mode == 'ha' %} + vip: {{ opnfv.vip.ceilometer }} +{% endif %} + to: +{% for unit_id in to_select() %} + - "lxc:nodes={{ unit_id }}" +{% endfor %} -- cgit 1.2.3-korg