我正在进行一个非常大的 puppet 部署,但似乎正在碰壁。我理想的设置是使用 Nginx + Passenger 来服务 puppet。我遇到的问题是 Puppet 在通过乘客时抛出错误。如果我启动 puppetmasterd,一切正常,但通过乘客服务会出现以下错误:
Jun 22 07:33:04 $master_hostname puppet-master[15710]: Starting Puppet master version 2.6.8
Jun 22 07:33:04 $master_hostname puppet-master[15720]: No support for http method POST
Jun 22 07:33:04 $master_hostname puppet-master[15720]: Denying access: Forbidden request: $client_hostname($client_ip) access to /report/$client_hostname [save] authenticated at line 0
Jun 22 07:33:04 $master_hostname puppet-master[15720]: Forbidden request: $client_hostname($client_ip) access to /report/$client_hostname [save] authenticated at line 0
一切似乎都指向 auth.conf 问题,但我的 auth.conf 文件尽可能通用,就像我说的,当我直接使用 Rack 为 puppet 提供服务时,一切正常。
有没有人遇到过这个问题?