tried to modify into single bundle. That is correct step to move
[joid.git] / ci / bundle_tpl / bundle.yaml
1 # vim: set ts=2 et:
2 {{ ubuntu.release }}-{{ os.release }}:
3   inherits: openstack-phase1
4   overrides:
5 {% include 'phase2-overrides.yaml' %}
6
7 openstack-phase1:
8   services:
9     nodes:
10       charm: "cs:{{ ubuntu.release }}/ubuntu"
11 {% if os.ha.mode == 'ha' %}
12       num_units: 5
13 {% else %}
14       num_units: 2
15 {% endif %}
16     ntp:
17       charm: "local:{{ ubuntu.release }}/ntp"
18 {% if os.network.controller == 'ocl' %}
19       options:
20         source: "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org"
21         auto_peers: false
22 {% endif %}
23 {% include 'mysql.yaml' %}
24 {% include 'ceilometer.yaml' %}
25 {% include 'ceph.yaml' %}
26 {% include 'cinder.yaml' %}
27 {% include 'glance.yaml' %}
28 {% include 'opnfv-promise.yaml' %}
29 {% include 'congress.yaml' %}
30 {% include 'keystone.yaml' %}
31 {% include 'nova-cloud-controller.yaml' %}
32 {% include 'nova-compute.yaml' %}
33 {% include 'openstack-dashboard.yaml' %}
34 {% include 'rabbitmq.yaml' %}
35 {% include 'heat.yaml' %}
36 {% include 'neutron-api.yaml' %}
37 {% include 'neutron-gateway.yaml' %}
38 {% if os.network.controller == 'odl' %}
39 {% include 'odl.yaml' %}
40 {% elif os.network.controller == 'onos' %}
41 {% include 'onos.yaml' %}
42 {% elif os.network.controller == 'ocl' %}
43 {% include 'oclphase1.yaml' %}
44 {% endif %}
45 {% if os.ha.mode == 'ha' %}
46 {% include 'haclusters.yaml' %}
47 {% endif %}
48 {% include 'subordinate.yaml' %}
49
50   relations:
51     - [ 'ntp:juju-info', 'nodes:juju-info' ]
52 {% if os.ha.mode == 'ha' %}
53 {% include 'harelations.yaml' %}
54 {% endif %}
55 {% include 'relations.yaml' %}
56