cf-promises: 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/cf-promises - from package: cfengine
/var/cfengine/bin/cf-promises - from package: cfengine

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/cf-promises - from package: cfengine3
/usr/lib/debug/usr/sbin/cf-promises - from package: cfengine3-dbg

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