summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/bundle_tpl/rabbitmq.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/bundle_tpl/rabbitmq.yaml')
-rw-r--r--ci/config_tpl/bundle_tpl/rabbitmq.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/config_tpl/bundle_tpl/rabbitmq.yaml b/ci/config_tpl/bundle_tpl/rabbitmq.yaml
index 1020340f..17d764d3 100644
--- a/ci/config_tpl/bundle_tpl/rabbitmq.yaml
+++ b/ci/config_tpl/bundle_tpl/rabbitmq.yaml
@@ -2,6 +2,9 @@
charm: "local:{{ ubuntu.release }}/rabbitmq-server"
num_units: {{ unit_qty() }}
options:
+{% if opnfv.storage_dict.ceph is defined %}
+ ceph-osd-replication-count: {{ unit_ceph_qty() }}
+{% endif %}
{% if os.ha.mode == 'ha' %}
vip: {{ opnfv.vip.rabbitmq }}
min-cluster-size: {{ unit_qty() }}