Comment 9 for bug 1812938

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

Reviewed: https://review.opendev.org/669704
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=db8d7cbe7ce42c0fafafc70c35dd5d9a611802ce
Submitter: Zuul
Branch: stable/queens

commit db8d7cbe7ce42c0fafafc70c35dd5d9a611802ce
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.

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