added some code to restart puppet after each code push