Project

General

Profile

Actions

Feature #12883

closed

Automatically remove missing network interfaces when using Puppet facts

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

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Difficulty:
Triaged:
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 1 (1 open0 closed)

Related to Foreman - Feature #7472: Improve autoupdate and autodeletion of interfaces based on factsNewTomáš Strachota09/16/2014Actions
Actions #1

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

Actions #2

Updated by Marek Hulán over 8 years ago

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

Also available in: Atom PDF