puppetca: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/sbin/puppetca - from package: puppet

You may install the required package with command yum install {package}
Error in other languages:
puppetca: bevel nie gevind nie
puppetca: comandă negăsită
puppetca: comando não encontrado
puppetca: commande introuvable
puppetca: command not found
puppetca: käsku ei ole
puppetca: không tìm thấy lệnh
puppetca: komanda nerasta
puppetca: Kommando nicht gefunden.
puppetca: kommandot finns inte
puppetca: komut yok
puppetca: nie znaleziono polecenia
puppetca: níor aimsíodh an t-ordú
puppetca: no se encontró la orden
puppetca: no s'ha trobat l'ordre
puppetca: opdracht niet gevonden
puppetca: parancs nem található
puppetca: perintah tidak ditemukan
puppetca: príkaz nenájdený
puppetca: příkaz nenalezen
puppetca: команда не найдена
puppetca: командата не е открита
puppetca: 命令找不到
puppetca: コマンドが見つかりません