Skip to content

Commit

Permalink
"advertise" -> "advertise_addrs": allow port spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jkafader authored Mar 30, 2017
1 parent 11b3730 commit 2174ffa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/config_client.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -31,4 +31,4 @@
{% endif %}
{% endfor %}
]
}
}

0 comments on commit 2174ffa

Please sign in to comment.