Adding cluster.conf template
This commit is contained in:
parent
7e886ddca5
commit
325e51b0cf
4
tmpl/redis-cluster.conf
Normal file
4
tmpl/redis-cluster.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user