Fixed issue puppet.sh file and pkg command