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.
Reviewed: https:/ /review. opendev. org/669702 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=5eb012b4f62 615519707a926cc 62528f5dc54a44
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 5eb012b4f626155 19707a926cc6252 8f5dc54a44
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 4f5176027d4b26b 3e1c6b22063 56e60ba6017f37b 9d1e76e31b)
Change-Id: I260b18ae3479da
Closes-Bug: #1812938
(cherry picked from commit 5fff984cecf68c2