0

我正在进行一个非常大的 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 提供服务时,一切正常。

有没有人遇到过这个问题?

4

1 回答 1

1

听起来像这样:

http://groups.google.com/group/puppet-users/browse_frm/thread/910994e88f21a497/cae809c17a9acd8a?#cae809c17a9acd8a

概念是您需要配置 NGINX 以将信息传递给 Puppet,因为它现在提供 SSL 层。

于 2011-07-14T01:27:37.070 回答