aboutsummaryrefslogtreecommitdiff
path: root/templates/failover.conf.erb
blob: 3b9441f24f2589402f186577b842de67c0fc9bb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
failover peer "<%=@name%>" {
  <%=@role%>;
  address <%=@address%>;
  port <%=@port%>;
  peer address <%=@peer_address%>;
  peer port <%=@peer_port%>;
<%-
  @options.sort.each do |k,v|
-%>
  <%=k%> <%=v%>;
<%-
end
-%>
}