diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/failover.conf.erb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/failover.conf.erb b/templates/failover.conf.erb new file mode 100644 index 0000000..3b9441f --- /dev/null +++ b/templates/failover.conf.erb @@ -0,0 +1,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 +-%> +} |