Rewrite puppet with new dependencies