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)
Reviewed: https:/ /review. opendev. org/669704 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=db8d7cbe7ce 42c0fafafc70c35 dd5d9a611802ce
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit db8d7cbe7ce42c0 fafafc70c35dd5d 9a611802ce
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: I260b18ae3479da 4f5176027d4b26b 3e1c6b22063 56e60ba6017f37b 9d1e76e31b)
Closes-Bug: #1812938
(cherry picked from commit 5fff984cecf68c2