I do hands-free installs of Passenger using AutomateIt and this recipe:
http://pastie.org/236528
The code that bypasses the prompts is:
yes | passenger-install-apache2-module
Not pretty, but works because the prompts don't require any actual input.
-igal
There are 2 ways to do this:
- Run 'rake apache2' in the Passenger source folder.
- Run 'yes | passenger-install-apache2-module' as Igal suggested.
Actually, the only thing passenger-install-apache2-module does is
checking whether you have all dependencies, running 'rake apache2' and
printing out some config snippets. It doesn't actually install anything,
despite what the name implies. 'rake apache2' is the official way to
non-interactively build the Apache 2 module, and will continue to be for
the foreseeable future.
The only reason why passenger-install-apache2-module asks for user input
is to let the user read what's on screen. It doesn't ask any questions.
So adding a non-interactive option to passenger-install-apache2-module
should be very easy. I'd gladly accept any patches for this.
Regards,
Hongli Lai
--
Phusion | The Computer Science Company
Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)