replaced shell script with puppet provisioning