Project

General

Profile

Bug #24691

Updated by Herwig Bogaert over 5 years ago

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. 

 Foreman parses the interface name in order to distinguish between physical andvirtual and 
 virtual interfaces. For virtual interfaces, this feature currently only works 
 correctly with facter versions < 3.0 because it relies on: 
 * - 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 >=3 
 * - the 'vlans' fact, fact which has been removed as of facter 3.0 https://docs.puppet.com/facter/3.0/release_notes.html 


 

 I am currently testing a fix and will submit a PR soon. 

Back