natemccurdy / puppet-purge_node

A Puppet Task to purge nodes
Apache License 2.0
5 stars 5 forks source link

Add support for purging node data from open-source PuppetDB #10

Open natemccurdy opened 4 years ago

natemccurdy commented 4 years ago

For open-source, this task can only clean a node's certificate. It'd probably be good to also issue a deactivate in PuppetDB... probably with a new task specific to that then a plan to run both clean and deactivate.

There's a new API endpoint in PuppetDB that should be used if available: