eole-redis/tmpl/redis-cluster.conf

7 lines
266 B
Plaintext

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