re-shuffle what baseinstance, prepare and puppetmaster do