puppet 0.25.4 & passenger

965 views
Skip to first unread message

cnjohnson

unread,
Mar 30, 2010, 2:21:56 PM3/30/10
to Puppet Users
If I run puppetmasterd alone I can connect to an 0.24.x client.
However, if I use passenger (2.2.11) and apache I get the following
error in my apache error_log:

Could not prepare for execution: Got 1 failure(s) while initializing:
change from absent to file failed: Could not set file on ensure:
Permission denied - /var/puppet/log/masterhttp.log

Client-side I get this error:

puppetd[4471]: Could not call puppetca.getcert: #<RuntimeError: HTTP-
Error: 500 Internal Server Error>
Mar 30 13:18:32 vmps07 puppetd[4471]: Could not request certificate:
Certificate retrieval failed: HTTP-Error: 500 Internal Server Error

Changing permissions, user, group ownership on /var/puppet/log/
masterhttp.log seems to have no effect.

Any insights would be appreciated.

Cheers--

Charles

Daniel Kerwin

unread,
Mar 30, 2010, 2:33:10 PM3/30/10
to puppet...@googlegroups.com
Check the ownership on /etc/puppet/rack/config.ru. Should belong to
puppet. The UID/GID under which puppetmasterd will run is determined
by looking at config.ru

Hope this helps

> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>
>

--

Cheers,

Daniel

smain kahlouch

unread,
Mar 30, 2010, 2:33:47 PM3/30/10
to puppet...@googlegroups.com
I had the same error, i just changed the permissions of the config.ru file.
It has to be owned by the user puppet

2010/3/30 cnjohnson <gm.jo...@gmail.com>

Nigel Kersten

unread,
Mar 30, 2010, 2:36:20 PM3/30/10
to puppet...@googlegroups.com
It's worth reading the ext/rack stuff on how to set up passenger.

You don't necessarily need to use the example manifests there to set
up Passenger, but we should all be capable of reading puppet manifests
to work out what actually needs to be done.

http://github.com/reductivelabs/puppet/tree/0.25.x/ext/rack/

--
nigel

Charles Johnson

unread,
Mar 30, 2010, 2:41:44 PM3/30/10
to puppet...@googlegroups.com
I apologize. I did read the stuff, and as soon as folk posted I hit myself! Sorry all.

Cheers--

Charles

Nigel Kersten

unread,
Mar 30, 2010, 2:48:37 PM3/30/10
to puppet...@googlegroups.com
On Tue, Mar 30, 2010 at 11:41 AM, Charles Johnson <gm.jo...@gmail.com> wrote:
> I apologize. I did read the stuff, and as soon as folk posted I hit myself!

hah. :) No apology necessary, I was just pointing it out as lots of
people are working from packaged puppet for their platform that
doesn't necessarily include that directory, or it's not immediately
obvious that it's been placed somewhere.

Reply all
Reply to author
Forward
0 new messages