Hi all,
I've used
http://projects.puppetlabs.com/projects/1/wiki/Using_Mongrel_Nginx
and
http://projects/puppetlabs.com/projects/1/wiki/Using_Passenger
to try to get puppet set up with nginx, but have had not luck up to this
point. nginx successfully sends the request to the application. You can
see the session here:
http://gist.github.com/553464
Since puppet worked while I was simply running it with puppetmasterd,
I'm pretty sure that my nginx/passenger setup is somehow not quite
right, and since passenger gets the request from nginx and tries to
handle it, I suspect that this has to do with my file/directory
structure (also because I get a 404).
My problem is that I don't know how to properly troubleshoot this any
further.
I've got the following file, directory set up:
| --${puppet_root}
|-- manifests
| |-- modules.pp
| |-- nodes.pp
| `-- site.pp
|
|-- app
| |-- config.ru
| |-- public -> ${puppet_root}/manifests/
| |-- tmp
`-- log
and passenger_root is set to ${puppet_root}/app where, like I said, it
does indeed seem to find config.ru.
So yeah, any help here would be appreciated. I've also asked about this
in the channel and couple of people had similar issues. No one was able
to help us though, so maybe this will clear some things up for some
people. Let me know if you need anything else.
I think maybe my manifests, modules and classes might need to be in the
app/public folder or something.
Regards,
Chris
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.