From edafc9a45e1b940c9e4dd51df512f046eac014f4 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Tue, 10 Apr 2018 17:05:00 +0200 Subject: [PATCH] Fixing galera configuration template --- tmpl/galera.cnf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tmpl/galera.cnf b/tmpl/galera.cnf index dfb8f09..1d14a0b 100644 --- a/tmpl/galera.cnf +++ b/tmpl/galera.cnf @@ -8,11 +8,12 @@ wsrep_on=ON wsrep_provider=/usr/lib/galera/libgalera_smm.so # Galera Cluster Configuration wsrep_cluster_name="%%dbClusterName" -%set %%nodeIP = %%getVar('adresse_ip_%%ifDBCluster', '') +%set %%nodeIP = %%getVar('adresse_ip_' + %%ifDBCluster, '') wsrep_cluster_address="gcomm://%%nodeIP%slurp %for %%node in %%dbClusterMember -,%%node.dbClusterMemberIP %slurp +,%%node.dbClusterMemberIP%slurp %end for +" # Galera Synchronization Configuration