eole-redis/tmpl/redis-cluster.conf

7 lines
266 B
Plaintext
Raw Normal View History

2018-05-11 15:38:13 +02:00
%if %%getVar('activer_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader'
127.0.0.1:%%{redisPort}:master::
%for %%node in %%getVar('rdClMemberIP',[])
2018-05-11 15:26:51 +02:00
%%{node}:%%{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