modified to change the cluster count for rabbitmq and relation.
[joid.git] / ci / bundle_tpl / rabbitmq.yaml
1     rabbitmq-server:
2       charm: "local:{{ ubuntu.release }}/rabbitmq-server"
3       num_units: {{ unit_qty() }}
4       options:
5 {% if os.ha.mode == 'ha' %}
6         vip: {{ opnfv.vip.mysql }}
7         min-cluster-size: {{ unit_qty() }}
8 {% endif %}
9       to:
10 {% for unit_id in to_select() %}
11         - "lxc:nodes={{ unit_id }}"
12 {% endfor %}