cleaning up puppet script