From 3feeec1185dabfe2a3c6a111ef275bce40e1dd51 Mon Sep 17 00:00:00 2001 From: Brett Meehan Date: Mon, 25 Nov 2019 15:37:43 +1100 Subject: [PATCH] ITOPSENG-277 only write synchrony.service.url if it has a value --- roles/synchrony_config/templates/atl.synchrony.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/synchrony_config/templates/atl.synchrony.j2 b/roles/synchrony_config/templates/atl.synchrony.j2 index e340fa3..6a90f7d 100644 --- a/roles/synchrony_config/templates/atl.synchrony.j2 +++ b/roles/synchrony_config/templates/atl.synchrony.j2 @@ -19,7 +19,9 @@ ATL_SYNCHRONY_JVM_PROPERTIES="{{ atl_synchrony_stack_space }} {{ atl_synchrony_m -Dsynchrony.cluster.bind={{ atl_local_ipv4 }} \ -Dcluster.interfaces={{ atl_local_ipv4 }} \ -Dsynchrony.cluster.base.port=25500 \ + {% if atl_synchrony_service_url|length %} -Dsynchrony.service.url={{ atl_synchrony_service_url }} \ + {% endif %} -Dsynchrony.context.path=/synchrony \ -Dsynchrony.port=8091 \ -Dcluster.name=Synchrony-Cluster \