summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2
diff options
context:
space:
mode:
Diffstat (limited to 'ci/config_tpl/juju2')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/bundle.yaml4
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/relations.yaml2
2 files changed, 6 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/bundle.yaml b/ci/config_tpl/juju2/bundle_tpl/bundle.yaml
index 1698f0d3..b0a0e861 100644
--- a/ci/config_tpl/juju2/bundle_tpl/bundle.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/bundle.yaml
@@ -39,9 +39,13 @@
{% include 'cinder.yaml' %}
{% include 'glance.yaml' %}
{% if opnfv.storage_dict.ceph is defined %}
+{% if os.service.promise %}
{% include 'opnfv-promise.yaml' %}
+{% endif %}
+{% if os.service.congress %}
{% include 'congress.yaml' %}
{% endif %}
+{% endif %}
{% include 'keystone.yaml' %}
{% include 'nova-cloud-controller.yaml' %}
{% include 'nova-compute.yaml' %}
diff --git a/ci/config_tpl/juju2/bundle_tpl/relations.yaml b/ci/config_tpl/juju2/bundle_tpl/relations.yaml
index 6d4d70c7..9eb860b9 100644
--- a/ci/config_tpl/juju2/bundle_tpl/relations.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/relations.yaml
@@ -38,10 +38,12 @@
- [ 'ceph-osd:mon', 'ceph:osd' ]
- [ 'ceph-radosgw:mon', 'ceph:radosgw' ]
- [ 'ceph-radosgw:identity-service', 'keystone:identity-service' ]
+{% if os.service.congress %}
- [ 'congress:shared-db', 'mysql:shared-db' ]
- [ 'congress:identity-service', 'keystone:identity-service' ]
- [ 'congress:amqp', 'rabbitmq-server:amqp' ]
{% endif %}
+{% endif %}
- [ 'ceilometer:amqp', 'rabbitmq-server:amqp' ]
- [ 'ceilometer-agent:ceilometer-service', 'ceilometer:ceilometer-service' ]
- [ 'ceilometer:identity-service', 'keystone:identity-service' ]