On Sep 10, 2010, at 15:47 , Gavin wrote: > I'm running on Lenny mostly, but have Puppet (2.6), Passenger, Ruby > etc all installed from Debian 'Testing', and all seems to be co- > existing quite happily together.
Well, if you install puppet/apache/rack/rails/passenger from testing, you could as well use squeeze instead of lenny. ;-) I've got the following packages installed on my system: ii apache2-mpm-worker 2.2.16-2 ii puppetmaster 2.6.0-2 ii libapache2-mod-passenger 2.2.11debian-1 ii librack-ruby1.8 1.1.0-3 ii rails 2.3.5-1.1 > I'm stumped on one thing though, maybe someone one this list can offer > some pointers/advice. > > The guide talks about creating /usr/share/puppet/rack/puppetmasterd/ > public/ and /usr/share/puppet/rack/puppetmasterd/tmp/ which I have > done, however when my clients make a request I get the following > Apache error:- > > File does not exist: /usr/share/puppet/rack/puppetmasterd/public/ > production Since "public/" should be the apache document root, I suppose there is something wrong with your Apache configuration. Puppet agents will create a http request to the following url: "https://puppet:8140/production/...anything..." Everything below the first slash should be interpreted by Apache to be passed to the Rack application running in Passenger. Did you try it with the apache configuration I sent in my last email? Also adding Passenger options[1][2] might help: PassengerRoot /usr PassengerRuby /usr/bin/ruby RailsAutoDetect On RailsBaseURI / Also try to tune Apache's log level and have a look at the logfiles. Regards, Stefan. [1] RailsAutoDetect - http://www.modrails.com/documentation/Users%20guide%20Apache.html#_railsautodetect_lt_on_off_gt [2] RailsBaseURI - http://www.modrails.com/documentation/Users%20guide%20Apache.html#RailsBaseURI -- 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.
