From 2174ffa283b8de3d89c40c04d55f7b5c98427f5f Mon Sep 17 00:00:00 2001 From: jkafader Date: Thu, 30 Mar 2017 14:55:34 -0700 Subject: [PATCH] "advertise" -> "advertise_addrs": allow port spec --- templates/config_client.json.j2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/config_client.json.j2 b/templates/config_client.json.j2 index 3d606dea..56d75f8b 100644 --- a/templates/config_client.json.j2 +++ b/templates/config_client.json.j2 @@ -3,14 +3,14 @@ { "bind_addr": "{{ consul_bind_address }}", - "addresses": { + "advertise_addrs": { "dns": "{{ consul_dns_bind_address }}", "http": "{{ consul_http_bind_address }}", "https": "{{ consul_https_bind_address }}", - "rpc": "{{ consul_rpc_bind_address }}" + "rpc": "{{ consul_rpc_bind_address }}", + "serf_wan": "{{ consul_serf_wan_bind_address }}", + "serf_lan": "{{ consul_serf_lan_bind_address }}" }, - "serf_wan_bind": "{{ consul_serf_wan_bind_address }}", - "serf_lan_bind": "{{ consul_serf_lan_bind_address }}", {%- if consul_recursors|length > 0 -%} "recursors": [ {% for recursor in consul_recursors -%} {{ comma() }}"{{ recursor }}" @@ -31,4 +31,4 @@ {% endif %} {% endfor %} ] -} \ No newline at end of file +}