forked from chef-boneyard/cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
metadata.rb
37 lines (29 loc) · 1.01 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
36
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs rails and provides a sample template for use with passenger"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.9.2"
recipe "rails", "Installs rails gems"
%w{ ruby apache2 }.each do |cb|
depends cb
end
%w{ ubuntu debian centos redhat fedora}.each do |os|
supports os
end
attribute "rails",
:display_name => "Rails",
:description => "Hash of Rails attributes",
:type => "hash"
attribute "rails/version",
:display_name => "Rails Version",
:description => "Specify the version of Rails to install",
:default => "false"
attribute "rails/environment",
:display_name => "Rails Environment",
:description => "Specify the environment to use for Rails",
:default => "production"
attribute "rails/max_pool_size",
:display_name => "Rails Max Pool Size",
:description => "Specify the MaxPoolSize in the Apache vhost",
:default => "4"