popularity
question
0

passenger_apache2: passenger-install-apache2-module not found on ubuntu

passenger
rails
ubuntu
bash

I’m having trouble getting passenger_apache2 cookbook up and running. The problem seems to be that the passenger-install-apache2-module can’t be found. The underlying issue is with my OS Ubuntu 10.4 which handles logins differently and won’t put the passenger-install-apache2-module executable on the path. My solution atm is to set the path in the execute statement of the cookbook, but that doesn’t seem right. How did other people handle this issue?

 
Answers: 1
1
Best

I think that either

  1. Using the full path to the executable in the execute statement, or
  2. Appending the necessary path to the PATH environment variable and passing this to the resource via the environment resource attributes

are the most straightforward solution to this problem. In the end, this sounds like a bug in the cookbook that you might want to file at

http://tickets.opscode.com

under the COOK project.

Answered
Mar 09 '12 at 22:11
 

I filed a bug: COOK-1096
Its really strange to me that other people don’t seem to encounter that issue, altough it should affect anybody using Debian linuxes.

Mar 13 '12 at 20:57