Virtual interfaces are incorrectly updated from puppet facts when using facter 3.0 and above
Unless the setting 'Ignore Puppet facts for provisioning' is set to 'Yes', foreman updates the hosts interface information based on Puppet facts. With facter version >= 3.0, a virtual interface is currently incorrectly
classified as being physical and its name overwrites the name of the physical interface to which it is attached in the foreman database.
- facter replacing the . (dot) and : (colon) in the interface name with an _ (underscore), which does not happen anymore with facter >=3. https://tickets.puppetlabs.com/browse/FACT-1762 https://tickets.puppetlabs.com/browse/FACT-775
- the 'vlans' fact, which has been removed as of facter 3.0 https://docs.puppet.com/facter/3.0/release_notes.html
Fixes #24691 - interfaces are incorrectly updated
Corrects virtual interfaces facts parsing when running facter > v3.0.
- facter >= v3.0 no longer replaces the . (dot) and : (colon) in the
interface name with an _ (underscore)
- the 'vlans' fact has been removed in facter >= v3.0
The fix does not alter the behavior when running facter < v3.0.