Quote controller_public_host_wrapped

If this is an IPv6 address, it currently will be set to something like
controller_public_host_wrapped: [2001:db8::2]

The yaml parser interprets this as a list and tries to part the IPv6
address as a hash. To avoid this, we need to wrap the value in quotes.

Change-Id: I9e5d5e6cd6873431a17280a8a8c8ae5af45163c4
Closes-Bug: #1833429
(cherry picked from commit e4cc043a1c)
This commit is contained in:
Alex Schultz 2019-06-19 08:22:54 -06:00
parent 2e54de832e
commit 3d17c6d685
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ ctlplane: {{LOCAL_IP}}
controller_host_wrapped: "{{LOCAL_IP_WRAPPED}}"
controller_admin_host: {{UNDERCLOUD_ADMIN_HOST}}
controller_public_host: {{UNDERCLOUD_PUBLIC_HOST}}
controller_public_host_wrapped: {{UNDERCLOUD_PUBLIC_HOST_WRAPPED}}
controller_public_host_wrapped: "{{UNDERCLOUD_PUBLIC_HOST_WRAPPED}}"
{{#UNDERCLOUD_NTP_SERVERS}}
ntp::servers: {{{UNDERCLOUD_NTP_SERVERS}}}
{{/UNDERCLOUD_NTP_SERVERS}}