swift: normalize memcache servers IP addresses
authorEmilien Macchi <emilien@redhat.com>
Mon, 19 Sep 2016 19:43:46 +0000 (15:43 -0400)
committerEmilien Macchi <emilien@redhat.com>
Tue, 20 Sep 2016 15:21:47 +0000 (15:21 +0000)
commit494b9dfe952a47ac4dcc21acdec6c0adacf59a8b
treea657a6960391e70f4ce1f83963e59579ecf2f821
parent6a9429eeda549f85fdb7e3748188046d702852fb
swift: normalize memcache servers IP addresses

In the case of memcache servers are IPv6, make sure brackets set in the
way we construct the list of memcache server + memcache port parameter.

Also add unit-tests to test that the output is what we want in the
configuration.

Depends-On: I8d361ce9cfcfe6a3f8592b2b7991971a3c748c75
Closes-Bug: 1625335
Change-Id: I9fb8168d8fb56c9d8465d58a45fd8c6edfee6fdd
.fixtures.yml
manifests/profile/base/swift/proxy.pp
spec/classes/tripleo_profile_base_swift_proxy_spec.rb [new file with mode: 0644]