Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
FACT 3.13.0
-
None
-
Night's Watch
-
1
-
PR - 2019-06-12, PR - 2019-06-25
-
Needs Assessment
-
Enhancement
-
[Community support OS] Add primary network interface check for FreeBSD
-
Needs Assessment
Description
The ipaddress fact used to return the main IPv4 address of the system in FreeBSD. Pretty basic I guess, but with Puppet 5, it's broken.
With Puppet5, if there are loopback interfaces (e.g. lo0, lo1) in addition to the usual Ethernet interface (e.g. em0, vmx0, etc), one of the loopback addresses is returned instead. This is obviously wrong and alters an expected behaviour that has been around since Puppet 3 or even before.
Apologies that I cannot really pinpoint or patch the error, but the C++11 code is difficult to grasp. Doing puppet facts --debug yields nothing that could be of any help.
Also, "facterversion": "3.13.2".