Refactor vagrant provision scripts.