summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-01-09 06:44:27 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2017-01-09 06:47:01 -0600
commit5fbb32535bb6456989407a946587b1bcbe94d0ee (patch)
tree7712d333e1392f5ccdb51356a5d12e2828c5e2b1 /ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
parent512a3b283ff25cad16a36605c80df4742673690b (diff)
modified to made an option to support spaces as per JUJU 2.0
Change-Id: Id768aa396924a2f17b4f530749452ee1e41b20b2 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml')
-rw-r--r--ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
index 6c3eec4b..554450f6 100644
--- a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
+++ b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml
@@ -6,6 +6,7 @@
ceilometer:
charm: "./{{ ubuntu.release }}/ceilometer"
num_units: {{ unit_qty() }}
+{% if os.service.bindings %}
bindings:
internal: internal
{% if opnfv.spaces_dict.data is defined %}
@@ -18,6 +19,7 @@
{% else %}
public: internal
{% endif %}
+{% endif %}
options:
openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
region: {{ os.region }}