Feature #404
closed
Foreman creates node when importing facts
Added by Matt Moran about 14 years ago.
Updated over 13 years ago.
Description
Would be good to choose whether to create nodes or ignore nodes when foreman imports facts.
- Target version set to 0.2
how would you decided which host to import? or would you like to disable it completely?
It would be nice to add a Search feature which can search for hosts with no Hostgroup, or with no class.
This way, hosts imported by the Fact importer cron task can be detected.
Should I make another ticket for this?
- Status changed from New to Feedback
- Assignee changed from Ohad Levy to Matt Moran
- Target version deleted (
0.2)
So I'm still unclear of how to implement this feature... how would we decided what not to import?
Hi Ohad,
How about a list in settings, say "Ignored Nodes" or similar. wild cards would be good -
servera.mydomain.local
*.compute.internal
I think that the right way would be to let foreman delete the facts from the puppetmaster when deleting a host within foreman.
- Status changed from Feedback to Closed
the new external nodes script in #347 now solves this issue.
Also available in: Atom
PDF