|
1 | 1 | maintainer "Opscode, Inc." |
2 | 2 | maintainer_email "ops@opscode.com" |
3 | 3 | license "Apache 2.0" |
4 | | -description "Installs and configures Passenger under Ruby Enterprise Edition with Apache" |
| 4 | +description "Installs and configures Passenger under RVM with Apache or nginx" |
5 | 5 | long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) |
6 | | -version "0.4.2" |
| 6 | +version "0.5.0" |
7 | 7 |
|
8 | | -recipe "passenger_enterprise", "Installs Passenger gem with Ruby Enterprise Edition" |
9 | | -recipe "passenger_enterprise::apache2", "Enables Apache module configuration for passenger under Ruby Enterprise Edition" |
10 | | -recipe "passenger_enterprise::nginx", "Installs Passenger gem w/ REE, and recompiles support into Nginx" |
| 8 | +recipe "rvm_passenger", "Installs Passenger gem with RVM" |
| 9 | +recipe "rvm_passenger::apache2", "Enables Apache module configuration for passenger under RVM" |
| 10 | +recipe "rvm_passenger::nginx", "Installs Passenger gem w/ RVM, and recompiles support into Nginx" |
11 | 11 |
|
12 | 12 | %w{ rvm nginx apache2 }.each do |cb| |
13 | 13 | depends cb |
14 | 14 | end |
15 | 15 |
|
16 | | -supports "ubuntu" |
| 16 | +%w{ ubuntu }.each do |os| |
| 17 | + supports os |
| 18 | +end |
| 19 | + |
| 20 | +attribute "rvm_passenger/version", |
| 21 | + :display_name => "Version of passenger", |
| 22 | + :description => "The version of passenger to deploy. This will be in a format used by the gem command.", |
| 23 | + :default => "3.0.0" |
| 24 | + |
| 25 | +attribute "rvm_passenger/rvm_ruby", |
| 26 | + :display_name => "RVM ruby to use", |
| 27 | + :description => "The RVM ruby (and optional gemset) under which to install the passenger gem. This will be in a format used by the rvm command.", |
| 28 | + :default => "ree-1.8.7-2010.02" |
| 29 | + |
| 30 | +attribute "rvm_passenger/root_path", |
| 31 | + :display_name => "Root path to passenger gem", |
| 32 | + :description => "The full path to the root of the installed passenger gem.", |
| 33 | + :default => "/usr/local/rvm/gems/ree-1.8.7-2010.02/gems/passenger-3.0.0" |
| 34 | + |
| 35 | +attribute "rvm_passenger/module_path", |
| 36 | + :display_name => "Path to mod_passenger.so", |
| 37 | + :description => "The full path to the Apache2 module.", |
| 38 | + :default => "/usr/local/rvm/gems/ree-1.8.7-2010.02/gems/passenger-3.0.0/ext/apache2/mod_passenger.so" |
| 39 | + |
0 commit comments