diff options
author | marios <marios@redhat.com> | 2016-01-20 12:34:07 +0200 |
---|---|---|
committer | marios <marios@redhat.com> | 2016-03-07 09:46:09 +0200 |
commit | c0f8a2aad6e694c14dcdafb6e4d3c450e9a50000 (patch) | |
tree | 9beb1981a563df8ddd6d154c0f8d4621a9bf1ac7 /puppet/all-nodes-config.yaml | |
parent | 00e47eaf5b4d00ca59a8ce75a7f7a9a928dbf5c7 (diff) |
Fixup the memcached servers string in nova.conf for v6
As discussed at https://bugzilla.redhat.com/show_bug.cgi?id=1299265
when providing a list of IPv6 addresses as the memcache_node_ips
the resulting nova.conf entry can't be parsed properly.
This adds a memcache_node_ips_v6 which has the required format like
inet6:[ADDR1],inet6:[ADDR2],inet6:[ADDR3]
Closes-Bug: 1536103
Change-Id: I7f95fa063cbba279c4c2e270841f0a279d2be2f6
Diffstat (limited to 'puppet/all-nodes-config.yaml')
-rw-r--r-- | puppet/all-nodes-config.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/puppet/all-nodes-config.yaml b/puppet/all-nodes-config.yaml index f7633a86..36f14237 100644 --- a/puppet/all-nodes-config.yaml +++ b/puppet/all-nodes-config.yaml @@ -141,6 +141,14 @@ resources: list_join: - "','" - {get_param: memcache_node_ips} + memcache_node_ips_v6: + str_replace: + template: "['inet6:[SERVERS_LIST]']" + params: + SERVERS_LIST: + list_join: + - "]','inet6:[" + - {get_param: memcache_node_ips} mysql_node_ips: str_replace: template: "['SERVERS_LIST']" |