Merge "change memcached IPv6 bind host to IPv6 format" into stable/stein

This commit is contained in:
Zuul 2019-08-19 13:46:28 +00:00 committed by Gerrit Code Review
commit 9bf6c11202
1 changed files with 1 additions and 3 deletions

View File

@ -1,9 +1,7 @@
class packstack::memcached () class packstack::memcached ()
{ {
# hack for memcached, for now we bind to localhost on ipv6
# https://bugzilla.redhat.com/show_bug.cgi?id=1210658
$memcached_bind_host = hiera('CONFIG_IP_VERSION') ? { $memcached_bind_host = hiera('CONFIG_IP_VERSION') ? {
'ipv6' => 'localhost6', 'ipv6' => '::',
default => '0.0.0.0', default => '0.0.0.0',
# TO-DO(mmagr): Add IPv6 support when hostnames are used # TO-DO(mmagr): Add IPv6 support when hostnames are used
} }