script to cleanup stale nodes and clients on chef server