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 83282dc commit 2cd01a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/config_bootstrap.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,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_bind": "{{ consul_serf_wan_bind_address }}",
"serf_lan_bind": "{{ 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 Down

0 comments on commit 2cd01a0

Please sign in to comment.