added checks to see if puppet is already installed and running