Project

General

Profile

Actions

Feature #8271

open

ON delete host, delete also unmanaged certificates from puppet CA

Added by cristian falcas over 9 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PuppetCA
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

It would be nice if we could have a checkbox on delete hosts to also delete certificates from puppet ca. Without this any removed host will be autmatically registered in foreman at the first puppet run.


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #13911: puppet cert is not revoked when host is deleted if ':unattended: false' is setNew02/25/2016Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Subject changed from ON delete host, delete also certificates from puppet caa to ON delete host, delete also unmanaged certificates from puppet CA
  • Category set to PuppetCA

Just to note, if Foreman is handling provisioning and setting up autosign in the first place, it will remove the cert. This is probably only when Foreman isn't managing that process.

Actions #2

Updated by cristian falcas over 9 years ago

Yes, it's for machines that are manually registered in foreman.

Actions #3

Updated by Dominic Cleal about 8 years ago

  • Related to Bug #13911: puppet cert is not revoked when host is deleted if ':unattended: false' is set added
Actions #4

Updated by Bryan Kearney almost 8 years ago

  • Bugzilla link set to 1347242
Actions #5

Updated by Lukas Zapletal almost 8 years ago

Indeed that would be useful, I sometimes do a "cleanup" on my testing host:

puppet cert list --all | grep -v $(hostname) | grep -o '".*"' | xargs puppet cert clean

Admitting that this is not useful for production, leaving it here for the record.

Actions

Also available in: Atom PDF