Comment 2 for bug 2050307

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/906302
Committed: https://opendev.org/starlingx/config/commit/51fe2ced224a18ca7e4201e89ceb1515fb76851a
Submitter: "Zuul (22348)"
Branch: master

commit 51fe2ced224a18ca7e4201e89ceb1515fb76851a
Author: Tara Subedi <email address hidden>
Date: Fri Jan 19 11:24:08 2024 -0500

    Puppet hieradata does not properly interpret an IPv4-mapped IPv6

    IPv6 IPv4-mapped prefix ::ffff is being interpreted by puppet as
    a Hiera parameter reference, causing a Hiera parameter lookup
    error. "puppet lookup platform::dns::resolv::servers" shows error
    when the value in yaml file leads with ::. This commit fixes the
    issue by putting the value in quote on yaml dump.

    TEST PLAN:
        PASS: Bootstrap with dns_servers ::ffff:10.10.10.1
        PASS: system dns-modify nameservers=::ffff:10.10.10.1

    Closes-Bug: 2050307
    Change-Id: I40cf7a02b22db7fa1c51414a802b969a395db61f
    Signed-off-by: Tara Nath Subedi <email address hidden>