Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 206 lines (173 sloc) 8.608 kB
10caa16 @jtimberman COOK-131, initial commit of skeleton metadata files.
jtimberman authored
1 maintainer "Opscode, Inc."
2 maintainer_email "cookbooks@opscode.com"
3 license "Apache 2.0"
adc3bc7 @jtimberman cook-131, flesh out more cookbook metadata
jtimberman authored
4 description "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions"
4130428 @jtimberman COOK-755, Replace anemic README.rdoc with superpowered README.md.
jtimberman authored
5 long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
a54610a @jtimberman apache2 v1.0.8
jtimberman authored
6 version "1.0.8"
58e6aac @jtimberman cook-131, update apache metadata with recipe information, suggest pas…
jtimberman authored
7 recipe "apache2", "Main Apache configuration"
8 recipe "apache2::mod_alias", "Apache module 'alias' with config file"
abd6ec7 @ctdk COOK-861: Add mod_perl and apreq2 to the apache2 cookbook
ctdk authored
9 recipe "apache2::mod_apreq2", "Apache module 'apreq'"
58e6aac @jtimberman cook-131, update apache metadata with recipe information, suggest pas…
jtimberman authored
10 recipe "apache2::mod_auth_basic", "Apache module 'auth_basic'"
11 recipe "apache2::mod_auth_digest", "Apache module 'auth_digest'"
638cd9e @jtimberman update readme, metadata and fix userprogram script
jtimberman authored
12 recipe "apache2::mod_auth_openid", "Apache module 'authopenid'"
58e6aac @jtimberman cook-131, update apache metadata with recipe information, suggest pas…
jtimberman authored
13 recipe "apache2::mod_authn_file", "Apache module 'authn_file'"
14 recipe "apache2::mod_authnz_ldap", "Apache module 'authnz_ldap'"
15 recipe "apache2::mod_authz_default", "Apache module 'authz_default'"
16 recipe "apache2::mod_authz_groupfile", "Apache module 'authz_groupfile'"
17 recipe "apache2::mod_authz_host", "Apache module 'authz_host'"
18 recipe "apache2::mod_authz_user", "Apache module 'authz_user'"
19 recipe "apache2::mod_autoindex", "Apache module 'autoindex' with config file"
20 recipe "apache2::mod_cgi", "Apache module 'cgi'"
21 recipe "apache2::mod_dav", "Apache module 'dav'"
22 recipe "apache2::mod_dav_svn", "Apache module 'dav_svn'"
23 recipe "apache2::mod_deflate", "Apache module 'deflate' with config file"
24 recipe "apache2::mod_dir", "Apache module 'dir' with config file"
25 recipe "apache2::mod_env", "Apache module 'env'"
26 recipe "apache2::mod_expires", "Apache module 'expires'"
27 recipe "apache2::mod_fcgid", "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file"
28 recipe "apache2::mod_headers", "Apache module 'headers'"
29 recipe "apache2::mod_ldap", "Apache module 'ldap'"
30 recipe "apache2::mod_log_config", "Apache module 'log_config'"
31 recipe "apache2::mod_mime", "Apache module 'mime' with config file"
32 recipe "apache2::mod_negotiation", "Apache module 'negotiation' with config file"
abd6ec7 @ctdk COOK-861: Add mod_perl and apreq2 to the apache2 cookbook
ctdk authored
33 recipe "apache2::mod_perl", "Apache module 'perl'"
58e6aac @jtimberman cook-131, update apache metadata with recipe information, suggest pas…
jtimberman authored
34 recipe "apache2::mod_php5", "Apache module 'php5'"
35 recipe "apache2::mod_proxy", "Apache module 'proxy' with config file"
14edce4 @ehaselwanter update documentation
ehaselwanter authored
36 recipe "apache2::mod_proxy_ajp", "Apache module 'proxy_ajp'"
37 recipe "apache2::mod_proxy_balancer", "Apache module 'proxy_balancer'"
38 recipe "apache2::mod_proxy_connect", "Apache module 'proxy_connect'"
58e6aac @jtimberman cook-131, update apache metadata with recipe information, suggest pas…
jtimberman authored
39 recipe "apache2::mod_proxy_http", "Apache module 'proxy_http'"
40 recipe "apache2::mod_python", "Apache module 'python'"
41 recipe "apache2::mod_rewrite", "Apache module 'rewrite'"
42 recipe "apache2::mod_setenvif", "Apache module 'setenvif' with config file"
43 recipe "apache2::mod_ssl", "Apache module 'ssl' with config file, adds port 443 to listen_ports"
44 recipe "apache2::mod_status", "Apache module 'status' with config file"
a86ee7b @jtimberman apache2 v1.0.0
jtimberman authored
45 recipe "apache2::mod_xsendfile", "Apache module 'xsendfile'"
10caa16 @jtimberman COOK-131, initial commit of skeleton metadata files.
jtimberman authored
46
63f577d @andreacampi COOK-548: FreeBSD support in the apache2 cookbook, part 1.
andreacampi authored
47 %w{redhat centos scientific fedora debian ubuntu arch freebsd}.each do |os|
8c98d16 @jtimberman cook-131, add apache attribute metadata
jtimberman authored
48 supports os
49 end
50
51 attribute "apache",
52 :display_name => "Apache Hash",
53 :description => "Hash of Apache attributes",
54 :type => "hash"
55
56 attribute "apache/dir",
57 :display_name => "Apache Directory",
58 :description => "Location for Apache configuration",
59 :default => "/etc/apache2"
60
61 attribute "apache/log_dir",
62 :display_name => "Apache Log Directory",
63 :description => "Location for Apache logs",
64 :default => "/etc/apache2"
65
66 attribute "apache/user",
67 :display_name => "Apache User",
68 :description => "User Apache runs as",
69 :default => "www-data"
70
71 attribute "apache/binary",
72 :display_name => "Apache Binary",
73 :description => "Apache server daemon program",
74 :default => "/usr/sbin/apache2"
75
76 attribute "apache/icondir",
77 :display_name => "Apache Icondir",
78 :description => "Directory location for icons",
79 :default => "/usr/share/apache2/icons"
80
81 attribute "apache/listen_ports",
82 :display_name => "Apache Listen Ports",
83 :description => "Ports that Apache should listen on",
84 :type => "array",
85 :default => [ "80", "443" ]
86
87 attribute "apache/contact",
88 :display_name => "Apache Contact",
89 :description => "Email address of webmaster",
90 :default => "ops@example.com"
91
92 attribute "apache/timeout",
93 :display_name => "Apache Timeout",
94 :description => "Connection timeout value",
95 :default => "300"
96
97 attribute "apache/keepalive",
98 :display_name => "Apache Keepalive",
99 :description => "HTTP persistent connections",
100 :default => "On"
101
102 attribute "apache/keepaliverequests",
103 :display_name => "Apache Keepalive Requests",
104 :description => "Number of requests allowed on a persistent connection",
105 :default => "100"
106
107 attribute "apache/keepalivetimeout",
108 :display_name => "Apache Keepalive Timeout",
109 :description => "Time to wait for requests on persistent connection",
110 :default => "5"
111
112 attribute "apache/servertokens",
113 :display_name => "Apache Server Tokens",
114 :description => "Server response header",
115 :default => "Prod"
116
096ecde @jtimberman commas will be the death of me.
jtimberman authored
117 attribute "apache/serversignature",
8c98d16 @jtimberman cook-131, add apache attribute metadata
jtimberman authored
118 :display_name => "Apache Server Signature",
119 :description => "Configure footer on server-generated documents",
120 :default => "On"
121
122 attribute "apache/traceenable",
123 :display_name => "Apache Trace Enable",
124 :description => "Determine behavior of TRACE requests",
125 :default => "On"
126
638cd9e @jtimberman update readme, metadata and fix userprogram script
jtimberman authored
127 attribute "apache/allowed_openids",
128 :display_name => "Apache Allowed OpenIDs",
129 :description => "Array of OpenIDs allowed to authenticate",
130 :default => ""
131
8c98d16 @jtimberman cook-131, add apache attribute metadata
jtimberman authored
132 attribute "apache/prefork",
133 :display_name => "Apache Prefork",
134 :description => "Hash of Apache prefork tuning attributes.",
135 :type => "hash"
136
137 attribute "apache/prefork/startservers",
138 :display_name => "Apache Prefork MPM StartServers",
139 :description => "Number of MPM servers to start",
140 :default => "16"
141
142 attribute "apache/prefork/minspareservers",
143 :display_name => "Apache Prefork MPM MinSpareServers",
144 :description => "Minimum number of spare server processes",
145 :default => "16"
146
147 attribute "apache/prefork/maxspareservers",
148 :display_name => "Apache Prefork MPM MaxSpareServers",
149 :description => "Maximum number of spare server processes",
150 :default => "32"
151
152 attribute "apache/prefork/serverlimit",
153 :display_name => "Apache Prefork MPM ServerLimit",
154 :description => "Upper limit on configurable server processes",
155 :default => "400"
156
157 attribute "apache/prefork/maxclients",
158 :display_name => "Apache Prefork MPM MaxClients",
159 :description => "Maximum number of simultaneous connections",
160 :default => "400"
161
162 attribute "apache/prefork/maxrequestsperchild",
163 :display_name => "Apache Prefork MPM MaxRequestsPerChild",
164 :description => "Maximum number of request a child process will handle",
165 :default => "10000"
166
167 attribute "apache/worker",
168 :display_name => "Apache Worker",
169 :description => "Hash of Apache prefork tuning attributes.",
170 :type => "hash"
171
172 attribute "apache/worker/startservers",
173 :display_name => "Apache Worker MPM StartServers",
174 :description => "Initial number of server processes to start",
175 :default => "4"
176
177 attribute "apache/worker/maxclients",
178 :display_name => "Apache Worker MPM MaxClients",
179 :description => "Maximum number of simultaneous connections",
180 :default => "1024"
181
182 attribute "apache/worker/minsparethreads",
183 :display_name => "Apache Worker MPM MinSpareThreads",
184 :description => "Minimum number of spare worker threads",
185 :default => "64"
186
187 attribute "apache/worker/maxsparethreads",
188 :display_name => "Apache Worker MPM MaxSpareThreads",
189 :description => "Maximum number of spare worker threads",
190 :default => "192"
191
192 attribute "apache/worker/threadsperchild",
193 :display_name => "Apache Worker MPM ThreadsPerChild",
194 :description => "Constant number of worker threads in each server process",
195 :default => "64"
196
197 attribute "apache/worker/maxrequestsperchild",
198 :display_name => "Apache Worker MPM MaxRequestsPerChild",
199 :description => "Maximum number of request a child process will handle",
200 :default => "0"
a824258 @jtimberman [COOK-822] - attribute to specify modules to enable via include_recipe
jtimberman authored
201
202 attribute "apache/default_modules",
203 :display_name => "Apache Default Modules",
204 :description => "Default modules to enable via recipes",
205 :default => "status alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex dir env mime negotiation setenvif"
Something went wrong with that request. Please try again.