diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 0639646ad3..e65e0968cf 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -79,12 +79,11 @@ listen mirrormanager 0.0.0.0:10008 server mm-frontend02 mm-frontend02:80 check inter 60s rise 2 fall 3 option httpchk GET /mirrormanager/static/mirrormanager2.css -## This is bodhi1.. removed for the bodhi2 migration. -##listen bodhi 0.0.0.0:10009 -## balance hdr(appserver) -## server bodhi01 bodhi01:80 check inter 20s rise 2 fall 3 -## server bodhi02 bodhi02:80 check inter 20s rise 2 fall 3 -## option httpchk GET /updates/nagios +listen darkserver 0.0.0.0:10009 + balance hdr(appserver) + #server darkserver01 darkserver01:80 check inter 20s rise 2 fall 3 + server darkserver02 darkserver02:80 check inter 20s rise 2 fall 3 + option httpchk GET / listen bodhi2 0.0.0.0:10010 balance hdr(appserver) diff --git a/roles/haproxy/templates/haproxy.cfg.stg b/roles/haproxy/templates/haproxy.cfg.stg index 44dae0fce3..f8bd0396d0 100644 --- a/roles/haproxy/templates/haproxy.cfg.stg +++ b/roles/haproxy/templates/haproxy.cfg.stg @@ -67,10 +67,10 @@ listen mirrormanager 0.0.0.0:10008 server mm-frontend01 mm-frontend01:80 check inter 60s rise 2 fall 3 option httpchk GET /mirrormanager/static/mirrormanager2.css -#listen bodhi 0.0.0.0:10009 -# balance hdr(appserver) -# server bodhi01 bodhi01:80 check inter 20s rise 2 fall 3 -# option httpchk GET /updates/nagios +listen darkserver 0.0.0.0:10009 + balance hdr(appserver) + server darkserver01 darkserver01:80 check inter 20s rise 2 fall 3 + option httpchk GET / listen bodhi2 0.0.0.0:10010 balance hdr(appserver)