Adding cluster.conf template

This commit is contained in:
Philippe Caseiro 2018-05-11 15:26:51 +02:00
parent 7e886ddca5
commit 325e51b0cf
1 changed files with 4 additions and 0 deletions

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