diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-19 17:53:52 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-08-19 17:59:21 -0500 |
commit | dc2188eb979f9ba70d687267671aa585c47a05d9 (patch) | |
tree | cd5ded11961da2c7c283ddb22e84a49192a8c7bc /ci/config_tpl | |
parent | 14d891da03cf0eeafd0d8b53174144dc6462877a (diff) |
modfied to take care of labconfig.yaml file copy and change the
bundle to deploy with haproxy
Change-Id: Iec5126562e4a78b8b4984ce2992ab81a197f90b0
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/config_tpl')
-rw-r--r-- | ci/config_tpl/public-api-proxy.yaml | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ci/config_tpl/public-api-proxy.yaml b/ci/config_tpl/public-api-proxy.yaml index 726945fe..b746850c 100644 --- a/ci/config_tpl/public-api-proxy.yaml +++ b/ci/config_tpl/public-api-proxy.yaml @@ -1,13 +1,13 @@ -haproxy: - charm: "local:{{ opnfv.distro }}/haproxy" - num_units: 1 - options: - services: |- + haproxy: + charm: "local:{{ opnfv.distro }}/haproxy" + num_units: 1 + options: + services: |- {% for service in public_api_services.values() %} - - service_name: {{ service.name }} - service_host: {{ public_api_ip }} - service_port: {{ service.port }} - servers: [[{{ service.name }},{{ service.ip }},{{ service.port }}]] + - service_name: {{ service.name }} + service_host: {{ public_api_ip }} + service_port: {{ service.port }} + servers: [[{{ service.name }},{{ service.ip }},{{ service.port }}]] {% endfor %} - to: - - "nodes=0" + to: + - "nodes=0" |