diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-07-06 11:52:29 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-07-06 11:59:47 -0500 |
commit | f50ab4b30aa64b03893275edbb0f5d705a989c0b (patch) | |
tree | 46bac9fb6ec69215db57adf8db8e38e7696e04ed /ci/bundle_tpl/rabbitmq.yaml | |
parent | 4b9a4f89021fe3c4dbf3394f46c72edc4668a83f (diff) |
modified to change the cluster count for rabbitmq and relation.
Change-Id: I6c23b7f5c6387b94cda505284612018dddd9e245
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/bundle_tpl/rabbitmq.yaml')
-rw-r--r-- | ci/bundle_tpl/rabbitmq.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/bundle_tpl/rabbitmq.yaml b/ci/bundle_tpl/rabbitmq.yaml index 35e07e90..d7f9c127 100644 --- a/ci/bundle_tpl/rabbitmq.yaml +++ b/ci/bundle_tpl/rabbitmq.yaml @@ -1,6 +1,11 @@ rabbitmq-server: charm: "local:{{ ubuntu.release }}/rabbitmq-server" num_units: {{ unit_qty() }} + options: +{% if os.ha.mode == 'ha' %} + vip: {{ opnfv.vip.mysql }} + min-cluster-size: {{ unit_qty() }} +{% endif %} to: {% for unit_id in to_select() %} - "lxc:nodes={{ unit_id }}" |