forked from aws/opsworks-cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.rb
35 lines (29 loc) · 1.2 KB
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name "passenger_apache2"
description "Installs passenger for Apache2"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"
%w{ packages gem_support apache2 nginx unicorn rails opsworks_initial_setup }.each do |cb|
depends cb
end
attribute "passenger/version",
:display_name => "Passenger Version",
:description => "Version of Passenger to install",
:default => "2.2.11"
attribute "passenger/root_path",
:display_name => "Passenger Root Path",
:description => "Location of passenger installed gem",
:default => "gem_dir/gems/passenger-passenger_version"
attribute "passenger/module_path",
:display_name => "Passenger Module Path",
:description => "Location of the compiled Apache module",
:default => "passenger_root_path/ext/apache2/mod_passenger.so"
attribute "passenger/ruby_bin",
:display_name => "Passenger Ruby Path",
:description => "Location of the Ruby binary to use",
:default => "/usr/bin/local/ruby"
attribute "passenger/gem_bin",
:display_name => "Passenger Gem Path",
:description => "Location of the Gem binary to use",
:default => "/usr/bin/local/gem"