Project

General

Profile

Feature #12883

Automatically remove missing network interfaces when using Puppet facts

Added by Jérôme Vizcaino over 6 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

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).


Related issues

Related to Foreman - Feature #7472: Improve autoupdate and autodeletion of interfaces based on factsNew2014-09-16

History

#1 Updated by Marek Hulán over 6 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.

#2 Updated by Marek Hulán over 6 years ago

  • Related to Feature #7472: Improve autoupdate and autodeletion of interfaces based on facts added

Also available in: Atom PDF