Adding cluster.conf template
This commit is contained in:
parent
9af98166ba
commit
48f9f8e927
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