Adding cluster.conf template

This commit is contained in:
Philippe Caseiro 2018-05-11 15:26:51 +02:00
parent 9af98166ba
commit 48f9f8e927

4
tmpl/redis-cluster.conf Normal file
View File

@ -0,0 +1,4 @@
%if %%getVar('active_redis','non') == 'oui' and %%getVar('redisRole','Node') == 'Leader'
%for %%node in %%getvar('rdMemberIP',[])
%%{node}:%%{node.rdClMemberPort}:%%{node.rdClMemberRole}:%%{node.rdClMemberMaster}
%end if