2018-05-11 15:38:13 +02:00
|
|
|
%if %%getVar('activer_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader'
|
2018-05-11 17:03:20 +02:00
|
|
|
Leader:127.0.0.1:%%{redisPort}:master::
|
|
|
|
%for %%node in %%getVar('rdClMember',[])
|
|
|
|
%%{node}:%%{node.rdClMemberIP}:%%{node.rdClMemberPort}:%%{node.rdClMemberRole}:%%{node.rdClMemberMaster}:
|
2018-05-11 15:38:13 +02:00
|
|
|
%end for
|
2018-05-11 15:26:51 +02:00
|
|
|
%end if
|