On 3/26/2013 5:59 AM, thinkwell wrote:
Hello Ramin. Thanks for your reply. I didn't install rvm, I'm only using
system ruby.  Regarding the use of gems vs puppet repositories, well, I
installed Puppet from the official apt repos but I wasn't aware that
passenger can be installed from there as well. If that's the case, why
is the documentation
<http://docs.puppetlabs.com/guides/passenger.html>so out of date?

I removed all my gems, installed puppetmaster-passenger & ruby-rack from
apt, and get this output (Grrrr):

Setting up ruby-rack (1.3.5-1) ...
Setting up librack-ruby (1.3.5-1) ...
Setting up libapache2-mod-passenger (2.2.11debian-2) ...
Setting up puppetmaster-passenger (3.1.1-1puppetlabs1) ...
Module ssl already enabled
Module headers already enabled
Enabling site puppetmaster.
To activate the new configuration, you need to run:
   service apache2 reload
Syntax error on line 3 of /etc/apache2/sites-enabled/puppetmaster:
Invalid command 'PassengerHighPerformance', perhaps misspelled or
defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
    ...fail!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing puppetmaster-passenger (--configure):
  subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
  puppetmaster-passenger

*
What is the recommended way to configure Puppet 3.1.1 with Apache!!?*

Two things.

You can get Passenger 3.0.19 from here, http://apt.brightbox.net/ though you'll need to the key dance outlined here, http://wiki.brightbox.co.uk/docs:brightboxaptrepository

I recommend Passenger 3.x for all the reasons here, https://ask.puppetlabs.com/question/468/should-i-run-my-puppet-master-under-passenger-30x-or-22x/

However in your current case I'd make sure that the Passenger module has been enabled. When Apache thinks a command is invalid it's almost always that the module the command is meant to config is not enabled or loaded.

Ramin

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to