天天看點

puppet kick forbidden finished with exit code 2現象:解決方法:

現象:

$ puppet kick -d --host slave2.torque.com

Triggering slave2.torque.com

Host slave2.torque.com failed: Error 403 on SERVER: Forbidden request: master.torque.com(192.168.6.140) access to /run/slave2.torque.com [save] authenticated  at line 99

slave2.torque.com finished with exit code 2

Failed: slave2.torque.com

解決方法:

在/etc/puppet/auth.conf檔案中添加如下兩行:

path /file

allow *

path /run

allow *

繼續閱讀