Feature #4539

Puppet should have the capability to "clean" nodes like certs are cleaned

Added by James Turnbull over 1 year ago. Updated over 1 year ago.

Status:Duplicate Start date:08/15/2010
Priority:Normal Due date:
Assignee:Luke Kanies % Done:

0%

Category:stored configuration
Target version:-
Affected Puppet version:2.6.0 Branch:
Keywords:
Votes: 0

Description

Puppet should have the capability to “clean” stored config node like certs are cleaned – example of this is the ext/storeconfigclean.rb script.


Related issues

duplicates Puppet - Feature #1886: Add node cleanup capability Closed 01/23/2009

History

Updated by Andrew Gaffney over 1 year ago

It would be nice if this functionality would also clean up all the stray facts and reports YAML files from the host.

Updated by James Turnbull over 1 year ago

  • Subject changed from Puppet should have the capability to "clean" stored config node like certs are cleaned to Puppet should have the capability to "clean" nodes like certs are cleaned

Updated by R.I. Pienaar over 1 year ago

Might also be good to have a max age/max life style setting so that decommissioned machines will just go away on their own.

Obviously setting it to zero would disable this feature and that might be a good default

Updated by Brice Figureau over 1 year ago

James Turnbull wrote:

Puppet should have the capability to “clean” stored config node like certs are cleaned – example of this is the ext/storeconfigclean.rb script.

It looks like a duplicate of #1886 to me. I even have some old code that never got merged for doing this: http://github.com/masterzen/puppet/commits/tickets/1886/

Maybe I should clean-up the code and resubmit it?

Updated by Joe McDonagh over 1 year ago

Wouldn’t this be difficult when it comes to the node definition? You can either have it in LDAP, or some external thing going on, or plain old nodes.pp…

Updated by James Turnbull over 1 year ago

  • Status changed from Unreviewed to Needs Decision
  • Assignee set to Luke Kanies

Updated by Luke Kanies over 1 year ago

  • Status changed from Needs Decision to Duplicate

Also available in: Atom PDF