bash script to install and run puppet