Code Review
/
apex-puppet-tripleo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
02f5102
)
Adding listen_options for Contrail Webui https in haproxy
author
Michael Henkel
<mhenkel@juniper.net>
Wed, 22 Mar 2017 14:08:36 +0000
(15:08 +0100)
committer
Michael Henkel
<mhenkel@juniper.net>
Wed, 22 Mar 2017 14:10:25 +0000
(15:10 +0100)
Without balance source and hash-type consistent traffic to
Contrail Webui https is not correctly load-balanced
Change-Id: I05a5aeea7db801c1403ef3c4dd4f94480fd8692e
manifests/haproxy.pp
patch
|
blob
|
history
diff --git
a/manifests/haproxy.pp
b/manifests/haproxy.pp
index
92edd71
..
122604b
100644
(file)
--- a/
manifests/haproxy.pp
+++ b/
manifests/haproxy.pp
@@
-1641,6
+1641,10
@@
class tripleo::haproxy (
ip_addresses => hiera('contrail_config_node_ips'),
server_names => hiera('contrail_config_node_ips'),
public_ssl_port => $ports[contrail_webui_https_port],
+ listen_options => {
+ 'balance' => 'source',
+ 'hash-type' => 'consistent',
+ }
}
}
}