eole-redis/tmpl/redis-cluster.conf

7 lines
294 B
Plaintext

%if %%getVar('activer_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader'
Leader:127.0.0.1:%%{redisPort}:master::
%for %%node in %%getVar('rdClMember',[])
%%{node}:%%{node.rdClMemberIP}:%%{node.rdClMemberPort}:%%{node.rdClMemberRole}:%%{node.rdClMemberMaster}:
%end for
%end if