Project

General

Profile

User story #18035

Updated by François ARMAND over 4 years ago

We need an API to totally wipe-out a node everywhere, which means:  

 - whatever its state, node inventory is deleted,  
 - node properties/state/etc are deleted,  
 - generated node policies are deleted, 
 - node cache is deleted, 
 - groups are regenerated. 

 Not sure: 

 - expected reports for node are deleted 
 - rudder sys event (compliance reports) 

 We still keep historized information about compliance data. 

 The most compatible way to do it is to add a "mode" parameter, with possible values "archive" (default, current behaviour) and "erase" (new mode that doesn't keep inventory etc). 

 Files in FS should be deleted in any case, node cache too.

Back