forked from chef-boneyard/cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
metadata.rb
32 lines (26 loc) · 1.08 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
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs passenger for Apache2"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.16.3"
recipe "passenger_apache2", "Installs Passenger as an Apache module"
recipe "passenger_apache2::mod_rails", "Enables Apache module configuration for passenger module"
%w{ packages ruby apache2 rails }.each do |cb|
depends cb
end
%w{ redhat centos ubuntu debian }.each do |os|
supports os
end
attribute "passenger/version",
:display_name => "Passenger Version",
:description => "Version of Passenger to install",
:default => "2.2.14"
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"