Skip to content

Commit

Permalink
Merge pull request #9 from arledesma/feature/vault-ha-cluster_addr
Browse files Browse the repository at this point in the history
Use vault_port+1 in cluster_addr for HA vault
  • Loading branch information
brianshumate authored Mar 22, 2017
2 parents c38e39a + bf39040 commit d933e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/vault_backend_consul.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
backend "consul" {
address = "{{ vault_consul }}"
redirect_addr = "http://{{ vault_redirect_addr }}:{{ vault_port }}"
cluster_addr = "http://{{ vault_primary_node }}:{{ vault_port }}/"
cluster_addr = "http://{{ vault_primary_node }}:{{ vault_port+1|int|abs }}/"
path = "vault"
}

0 comments on commit d933e44

Please sign in to comment.