Merge "haproxy: Add missing default_backend option"

This commit is contained in:
Zuul 2021-10-06 11:51:49 +00:00 committed by Gerrit Code Review
commit 799ca8060f
2 changed files with 7 additions and 4 deletions

View File

@ -1525,8 +1525,9 @@ class tripleo::haproxy (
bind => $rabbitmq_bind_opts,
collect_exported => false,
options => {
'option' => [ 'tcpka', 'tcplog' ],
'timeout' => [ 'client 0' ],
'default_backend' => 'rabbitmq_be',
'option' => [ 'tcpka', 'tcplog' ],
'timeout' => [ 'client 0' ],
},
}
haproxy::backend { 'rabbitmq_be':
@ -1617,7 +1618,8 @@ class tripleo::haproxy (
bind => $redis_bind_opts,
collect_exported => false,
options => {
'option' => [ 'tcplog' ],
'default_backend' => 'redis_be',
'option' => [ 'tcplog' ],
},
}
haproxy::backend { 'redis_be':

View File

@ -77,7 +77,8 @@ class tripleo::haproxy::stats (
bind => $haproxy_stats_bind_opts,
mode => 'http',
options => {
'stats' => $stats_config,
'default_backend' => 'haproxy.stats_be',
'stats' => $stats_config,
},
collect_exported => false,
}