improve puppet automation