Comment 6 for bug 1835718

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/rocky)

Reviewed: https://review.opendev.org/669702
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=5eb012b4f62615519707a926cc62528f5dc54a44
Submitter: Zuul
Branch: stable/rocky

commit 5eb012b4f62615519707a926cc62528f5dc54a44
Author: Alex Schultz <email address hidden>
Date: Tue Jan 22 17:37:29 2019 -0700

    Fix interface_for_ip for newer facter versions

    In facter 3.x, the networking facts are in a complex hash. Previously
    the interface facts where flat so we would lookup the vars. This change
    first tries the facter 2.x lookup before falling back to the facter 3.x
    syntax.

    Closes-Bug: #1835718
    Change-Id: I260b18ae3479da4f5176027d4b26b3e1c6b22063
    Closes-Bug: #1812938
    (cherry picked from commit 5fff984cecf68c256e60ba6017f37b9d1e76e31b)