summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/heat.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-09-03 17:25:18 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-09-03 17:25:18 -0500
commit3240e47c77172eef852a187ce3900112f89e1785 (patch)
tree780e17377faf5c6ebc7fe976b2bd10e0c3c26002 /ci/config_tpl/juju2/bundle_tpl/heat.yaml
parentea65265e93f162bdf3b236d0c58ac2d30db57f88 (diff)
modified to include rados gateway with vip.
Change-Id: I5828c3b37e71da04515867f7e7d2b5bd10e9f9b1 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/heat.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/heat.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/heat.yaml b/ci/config_tpl/juju2/bundle_tpl/heat.yaml
index 175283ce..6e26ac7f 100644
--- a/ci/config_tpl/juju2/bundle_tpl/heat.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/heat.yaml
@@ -1,6 +1,6 @@
heat:
charm: "./{{ ubuntu.release }}/heat"
- num_units: 1
+ num_units: {{ unit_qty() }}
{% if os.service.bindings %}
bindings:
"": *oam-space
@@ -17,8 +17,10 @@
{% endif %}
worker-multiplier: *worker-multiplier
{% if os.ha.mode == 'ha' %}
-# vip: {{ opnfv.vip.heat }}
+ vip: {{ opnfv.vip.heat }}
{% endif %}
to:
- - "lxd:nodes/0"
+{% for unit_id in to_select() %}
+ - "lxd:nodes/{{ unit_id }}"
+{% endfor %}
{# Empty block to avoid bad block trim #}