passenger_apache2: passenger-install-apache2-module not found on ubuntu
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?
I think that either
- Using the full path to the executable in the execute statement, or
- 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
under the COOK project.