Feature #12883
closedAutomatically remove missing network interfaces when using Puppet facts
Description
When configured to do so, Foreman uses the Puppet facts to declare network interfaces which is pretty convenient, especially when handled hosts get declared via a Puppet run.
The thing is that, with machines having dynamic interfaces (say hypervisors with net tap or bridges), network list keeps growing over time.
It would be nice to remove network interfaces declared in Foreman that are not present in the Puppet facts.
Also, avoid adding duplicate entries with the same name (multiple eth0 entries with different mac, ipaddress).
Updated by Marek Hulán about 9 years ago
- Status changed from New to Duplicate
Thanks for the report. I agree that this would be handy but it should be implemented with some flag that would tell that the interface was created by puppet so we don't remove interfaces explicitly set by user. I believe this was already reported as #7472 so I'm closing this as a duplicate. Please upvote the linked issue.
Updated by Marek Hulán about 9 years ago
- Related to Feature #7472: Improve autoupdate and autodeletion of interfaces based on facts added