updated the source for ceph deployment.
[joid.git] / ci / config_tpl / bundle_tpl / rabbitmq.yaml
1     rabbitmq-server:
2       charm: "local:{{ ubuntu.release }}/rabbitmq-server"
3       num_units: {{ unit_qty() }}
4       options:
5 {% if opnfv.storage_dict.ceph is defined %}
6         ceph-osd-replication-count: {{ unit_ceph_qty() }}
7 {% endif %}
8 {% if os.network.ipv6 %}
9         prefer-ipv6: {{ os.network.ipv6 }}
10 {% endif %}
11 {% if os.ha.mode == 'ha' %}
12         vip: {{ opnfv.vip.rabbitmq }}
13         min-cluster-size: {{ unit_qty() }}
14 {% endif %}
15       to:
16 {% for unit_id in to_select() %}
17         - "lxc:nodes={{ unit_id }}"
18 {% endfor %}