From 5fbb32535bb6456989407a946587b1bcbe94d0ee Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 9 Jan 2017 06:44:27 -0600 Subject: modified to made an option to support spaces as per JUJU 2.0 Change-Id: Id768aa396924a2f17b4f530749452ee1e41b20b2 Signed-off-by: Narinder Gupta --- ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml') diff --git a/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml b/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml index daf9a13a..a9515202 100644 --- a/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml @@ -1,6 +1,10 @@ rabbitmq-server: charm: "./{{ ubuntu.release }}/rabbitmq-server" num_units: {{ unit_qty() }} +{% if os.service.bindings %} + bindings: + amqp: internal +{% endif %} options: {% if opnfv.storage_dict.ceph is defined %} ceph-osd-replication-count: {{ unit_ceph_qty() }} -- cgit 1.2.3-korg