Merge "change memcached IPv6 bind host to IPv6 format"
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user