refinement to logic on puppet apply that caches puppet info