run_puppet command is changed to 'puppet agent -t' for accurate exit codes