diff options
author | varac <varacanero@zeromail.org> | 2013-10-11 22:32:01 +0200 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2013-10-11 22:32:01 +0200 |
commit | 4a75cd70b50969023c507b5c9ec2e8c36142f706 (patch) | |
tree | 92cec31bf3f1c31dfebc47535589a2dc95210f63 /puppet/modules/site_webapp/templates | |
parent | f2cd05902a9dd64beb1417ddb1d9994c4dc29b14 (diff) |
/etc/haproxy/haproxy.cfg changed randomly (Feature #4111)
Diffstat (limited to 'puppet/modules/site_webapp/templates')
-rw-r--r-- | puppet/modules/site_webapp/templates/haproxy_couchdb.cfg.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_webapp/templates/haproxy_couchdb.cfg.erb b/puppet/modules/site_webapp/templates/haproxy_couchdb.cfg.erb index 914a964e..1fa01b96 100644 --- a/puppet/modules/site_webapp/templates/haproxy_couchdb.cfg.erb +++ b/puppet/modules/site_webapp/templates/haproxy_couchdb.cfg.erb @@ -13,7 +13,7 @@ listen bigcouch-in default-server inter 3000 fastinter 1000 downinter 1000 rise 2 fall 1 <%- if @haproxy['servers'] -%> -<%- @haproxy['servers'].each do |name,server| -%> +<%- @haproxy['servers'].sort.each do |name,server| -%> <%- backup = server['backup'] ? 'backup' : '' -%> # <%=name%> server couchdb_<%=server['port']%> <%=server['host']%>:<%=server['port']%> <%=backup%> weight <%=server['weight']%> check |