diff options
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/heat.yaml')
-rw-r--r-- | ci/config_tpl/juju2/bundle_tpl/heat.yaml | 8 |
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 #} |