knife-cookbook-readme 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,213 @@
1
+ name "apache2"
2
+ maintainer "Opscode, Inc."
3
+ maintainer_email "cookbooks@opscode.com"
4
+ license "Apache 2.0"
5
+ description "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions"
6
+ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7
+ version "1.7.0"
8
+ recipe "apache2", "Main Apache configuration"
9
+ recipe "apache2::logrotate", "Rotate apache2 logs. Requires logrotate cookbook"
10
+ recipe "apache2::mod_alias", "Apache module 'alias' with config file"
11
+ recipe "apache2::mod_apreq2", "Apache module 'apreq'"
12
+ recipe "apache2::mod_auth_basic", "Apache module 'auth_basic'"
13
+ recipe "apache2::mod_auth_digest", "Apache module 'auth_digest'"
14
+ recipe "apache2::mod_auth_openid", "Apache module 'authopenid'"
15
+ recipe "apache2::mod_authn_file", "Apache module 'authn_file'"
16
+ recipe "apache2::mod_authnz_ldap", "Apache module 'authnz_ldap'"
17
+ recipe "apache2::mod_authz_default", "Apache module 'authz_default'"
18
+ recipe "apache2::mod_authz_groupfile", "Apache module 'authz_groupfile'"
19
+ recipe "apache2::mod_authz_host", "Apache module 'authz_host'"
20
+ recipe "apache2::mod_authz_user", "Apache module 'authz_user'"
21
+ recipe "apache2::mod_autoindex", "Apache module 'autoindex' with config file"
22
+ recipe "apache2::mod_cgi", "Apache module 'cgi'"
23
+ recipe "apache2::mod_dav", "Apache module 'dav'"
24
+ recipe "apache2::mod_dav_svn", "Apache module 'dav_svn'"
25
+ recipe "apache2::mod_deflate", "Apache module 'deflate' with config file"
26
+ recipe "apache2::mod_dir", "Apache module 'dir' with config file"
27
+ recipe "apache2::mod_env", "Apache module 'env'"
28
+ recipe "apache2::mod_expires", "Apache module 'expires'"
29
+ recipe "apache2::mod_fcgid", "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file"
30
+ recipe "apache2::mod_headers", "Apache module 'headers'"
31
+ recipe "apache2::mod_include", "Apache module 'include'"
32
+ recipe "apache2::mod_ldap", "Apache module 'ldap'"
33
+ recipe "apache2::mod_log_config", "Apache module 'log_config'"
34
+ recipe "apache2::mod_mime", "Apache module 'mime' with config file"
35
+ recipe "apache2::mod_negotiation", "Apache module 'negotiation' with config file"
36
+ recipe "apache2::mod_perl", "Apache module 'perl'"
37
+ recipe "apache2::mod_php5", "Apache module 'php5'"
38
+ recipe "apache2::mod_proxy", "Apache module 'proxy' with config file"
39
+ recipe "apache2::mod_proxy_ajp", "Apache module 'proxy_ajp'"
40
+ recipe "apache2::mod_proxy_balancer", "Apache module 'proxy_balancer'"
41
+ recipe "apache2::mod_proxy_connect", "Apache module 'proxy_connect'"
42
+ recipe "apache2::mod_proxy_http", "Apache module 'proxy_http'"
43
+ recipe "apache2::mod_python", "Apache module 'python'"
44
+ recipe "apache2::mod_rewrite", "Apache module 'rewrite'"
45
+ recipe "apache2::mod_setenvif", "Apache module 'setenvif' with config file"
46
+ recipe "apache2::mod_ssl", "Apache module 'ssl' with config file, adds port 443 to listen_ports"
47
+ recipe "apache2::mod_status", "Apache module 'status' with config file"
48
+ recipe "apache2::mod_xsendfile", "Apache module 'xsendfile'"
49
+
50
+ %w{redhat centos scientific fedora debian ubuntu arch freebsd amazon}.each do |os|
51
+ supports os
52
+ end
53
+
54
+ attribute "apache",
55
+ :display_name => "Apache Hash",
56
+ :description => "Hash of Apache attributes",
57
+ :type => "hash"
58
+
59
+ attribute "apache/dir",
60
+ :display_name => "Apache Directory",
61
+ :description => "Location for Apache configuration",
62
+ :default => "/etc/apache2"
63
+
64
+ attribute "apache/log_dir",
65
+ :display_name => "Apache Log Directory",
66
+ :description => "Location for Apache logs",
67
+ :default => "/etc/apache2"
68
+
69
+ attribute "apache/user",
70
+ :display_name => "Apache User",
71
+ :description => "User Apache runs as",
72
+ :default => "www-data"
73
+
74
+ attribute "apache/binary",
75
+ :display_name => "Apache Binary",
76
+ :description => "Apache server daemon program",
77
+ :default => "/usr/sbin/apache2"
78
+
79
+ attribute "apache/icondir",
80
+ :display_name => "Apache Icondir",
81
+ :description => "Directory location for icons",
82
+ :default => "/usr/share/apache2/icons"
83
+
84
+ attribute "apache/listen_ports",
85
+ :display_name => "Apache Listen Ports",
86
+ :description => "Ports that Apache should listen on",
87
+ :type => "array",
88
+ :default => ["80", "443"]
89
+
90
+ attribute "apache/contact",
91
+ :display_name => "Apache Contact",
92
+ :description => "Email address of webmaster",
93
+ :default => "ops@example.com"
94
+
95
+ attribute "apache/timeout",
96
+ :display_name => "Apache Timeout",
97
+ :description => "Connection timeout value",
98
+ :default => "300"
99
+
100
+ attribute "apache/keepalive",
101
+ :display_name => "Apache Keepalive",
102
+ :description => "HTTP persistent connections",
103
+ :default => "On"
104
+
105
+ attribute "apache/keepaliverequests",
106
+ :display_name => "Apache Keepalive Requests",
107
+ :description => "Number of requests allowed on a persistent connection",
108
+ :default => "100"
109
+
110
+ attribute "apache/keepalivetimeout",
111
+ :display_name => "Apache Keepalive Timeout",
112
+ :description => "Time to wait for requests on persistent connection",
113
+ :default => "5"
114
+
115
+ attribute "apache/servertokens",
116
+ :display_name => "Apache Server Tokens",
117
+ :description => "Server response header",
118
+ :default => "Prod"
119
+
120
+ attribute "apache/serversignature",
121
+ :display_name => "Apache Server Signature",
122
+ :description => "Configure footer on server-generated documents",
123
+ :default => "On"
124
+
125
+ attribute "apache/traceenable",
126
+ :display_name => "Apache Trace Enable",
127
+ :description => "Determine behavior of TRACE requests",
128
+ :default => "On"
129
+
130
+ attribute "apache/allowed_openids",
131
+ :display_name => "Apache Allowed OpenIDs",
132
+ :description => "Array of OpenIDs allowed to authenticate",
133
+ :default => ""
134
+
135
+ attribute "apache/prefork",
136
+ :display_name => "Apache Prefork",
137
+ :description => "Hash of Apache prefork tuning attributes.",
138
+ :type => "hash"
139
+
140
+ attribute "apache/prefork/startservers",
141
+ :display_name => "Apache Prefork MPM StartServers",
142
+ :description => "Number of MPM servers to start",
143
+ :default => "16"
144
+
145
+ attribute "apache/prefork/minspareservers",
146
+ :display_name => "Apache Prefork MPM MinSpareServers",
147
+ :description => "Minimum number of spare server processes",
148
+ :default => "16"
149
+
150
+ attribute "apache/prefork/maxspareservers",
151
+ :display_name => "Apache Prefork MPM MaxSpareServers",
152
+ :description => "Maximum number of spare server processes",
153
+ :default => "32"
154
+
155
+ attribute "apache/prefork/serverlimit",
156
+ :display_name => "Apache Prefork MPM ServerLimit",
157
+ :description => "Upper limit on configurable server processes",
158
+ :default => "400"
159
+
160
+ attribute "apache/prefork/maxclients",
161
+ :display_name => "Apache Prefork MPM MaxClients",
162
+ :description => "Maximum number of simultaneous connections",
163
+ :default => "400"
164
+
165
+ attribute "apache/prefork/maxrequestsperchild",
166
+ :display_name => "Apache Prefork MPM MaxRequestsPerChild",
167
+ :description => "Maximum number of request a child process will handle",
168
+ :default => "10000"
169
+
170
+ attribute "apache/worker",
171
+ :display_name => "Apache Worker",
172
+ :description => "Hash of Apache prefork tuning attributes.",
173
+ :type => "hash"
174
+
175
+ attribute "apache/worker/startservers",
176
+ :display_name => "Apache Worker MPM StartServers",
177
+ :description => "Initial number of server processes to start",
178
+ :default => "4"
179
+
180
+ attribute "apache/worker/maxclients",
181
+ :display_name => "Apache Worker MPM MaxClients",
182
+ :description => "Maximum number of simultaneous connections",
183
+ :default => "1024"
184
+
185
+ attribute "apache/worker/minsparethreads",
186
+ :display_name => "Apache Worker MPM MinSpareThreads",
187
+ :description => "Minimum number of spare worker threads",
188
+ :default => "64"
189
+
190
+ attribute "apache/worker/maxsparethreads",
191
+ :display_name => "Apache Worker MPM MaxSpareThreads",
192
+ :description => "Maximum number of spare worker threads",
193
+ :default => "192"
194
+
195
+ attribute "apache/worker/threadsperchild",
196
+ :display_name => "Apache Worker MPM ThreadsPerChild",
197
+ :description => "Constant number of worker threads in each server process",
198
+ :default => "64"
199
+
200
+ attribute "apache/worker/maxrequestsperchild",
201
+ :display_name => "Apache Worker MPM MaxRequestsPerChild",
202
+ :description => "Maximum number of request a child process will handle",
203
+ :default => "0"
204
+
205
+ attribute "apache/default_modules",
206
+ :display_name => "Apache Default Modules",
207
+ :description => "Default modules to enable via recipes",
208
+ :default => "status alias auth_basic authn_file authz_default authz_groupfile authz_host authz_user autoindex dir env mime negotiation setenvif"
209
+
210
+ attribute "apache/mod_ssl/cipher_suite",
211
+ :display_name => "Apache mod_ssl Cipher Suite",
212
+ :description => "String of SSL ciphers to use for SSLCipherSuite",
213
+ :default => "RC4-SHA:HIGH:!ADH"
@@ -0,0 +1,42 @@
1
+ Git Cookbook
2
+ ============
3
+
4
+ Installs Git from source and optionally configures it
5
+
6
+ Requirements
7
+ ------------
8
+
9
+ ### Platform:
10
+
11
+ * Ubuntu
12
+ * Debian
13
+
14
+ ### Cookbooks:
15
+
16
+ * build-essential
17
+
18
+ Attributes
19
+ ----------
20
+
21
+ *No attributes defined*
22
+
23
+ Recipes
24
+ -------
25
+
26
+ ### git::source
27
+
28
+ Installs Git from source
29
+
30
+ ### git::config
31
+
32
+ Provisions a system-wide Git config
33
+
34
+
35
+ License and Author
36
+ ------------------
37
+
38
+ Author:: Mathias Lafeldt (<mathias.lafeldt@gmail.com>)
39
+
40
+ Copyright:: 2013, Mathias Lafeldt
41
+
42
+ License:: Apache 2.0
@@ -0,0 +1,14 @@
1
+ name "git"
2
+ maintainer "Mathias Lafeldt"
3
+ maintainer_email "mathias.lafeldt@gmail.com"
4
+ license "Apache 2.0"
5
+ description "Installs Git from source and optionally configures it"
6
+ long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7
+ version "1.1.1"
8
+ recipe "git::source", "Installs Git from source"
9
+ recipe "git::config", "Provisions a system-wide Git config"
10
+
11
+ supports "ubuntu"
12
+ supports "debian"
13
+
14
+ depends "build-essential"
@@ -0,0 +1,206 @@
1
+ Mysql Cookbook
2
+ ==============
3
+
4
+ Installs and configures mysql for client or server
5
+
6
+ Requirements
7
+ ------------
8
+
9
+ ### Platform:
10
+
11
+ * Debian
12
+ * Ubuntu
13
+ * Centos
14
+ * Suse
15
+ * Fedora
16
+ * Redhat
17
+ * Scientific
18
+ * Amazon
19
+ * Freebsd
20
+ * Windows
21
+ * Mac_os_x
22
+
23
+ ### Cookbooks:
24
+
25
+ * openssl
26
+ * build-essential (> 1.1.0)
27
+
28
+ Attributes
29
+ ----------
30
+
31
+ <table>
32
+ <tr>
33
+ <td>Attribute</td>
34
+ <td>Description</td>
35
+ <td>Default</td>
36
+ </tr>
37
+ <tr>
38
+ <td><code>node['mysql']['server_root_password']</code></td>
39
+ <td>Randomly generated password for the mysqld root user</td>
40
+ <td><code>randomly generated</code></td>
41
+ </tr>
42
+ <tr>
43
+ <td><code>node['mysql']['bind_address']</code></td>
44
+ <td>Address that mysqld should listen on</td>
45
+ <td><code>ipaddress</code></td>
46
+ </tr>
47
+ <tr>
48
+ <td><code>node['mysql']['data_dir']</code></td>
49
+ <td>Location of mysql databases</td>
50
+ <td><code>/var/lib/mysql</code></td>
51
+ </tr>
52
+ <tr>
53
+ <td><code>node['mysql']['conf_dir']</code></td>
54
+ <td>Location of mysql conf files</td>
55
+ <td><code>/etc/mysql</code></td>
56
+ </tr>
57
+ <tr>
58
+ <td><code>node['mysql']['ec2_path']</code></td>
59
+ <td>Location of mysql directory on EC2 instance EBS volumes</td>
60
+ <td><code>/mnt/mysql</code></td>
61
+ </tr>
62
+ <tr>
63
+ <td><code>node['mysql']['reload_action']</code></td>
64
+ <td>Action to take when mysql conf files are modified</td>
65
+ <td><code>reload</code></td>
66
+ </tr>
67
+ <tr>
68
+ <td><code>node['mysql']['tunable']</code></td>
69
+ <td>Hash of MySQL tunable attributes</td>
70
+ <td><code></code></td>
71
+ </tr>
72
+ <tr>
73
+ <td><code>node['mysql']['tunable']['key_buffer']</code></td>
74
+ <td></td>
75
+ <td><code>250M</code></td>
76
+ </tr>
77
+ <tr>
78
+ <td><code>node['mysql']['tunable']['max_connections']</code></td>
79
+ <td></td>
80
+ <td><code>800</code></td>
81
+ </tr>
82
+ <tr>
83
+ <td><code>node['mysql']['tunable']['wait_timeout']</code></td>
84
+ <td></td>
85
+ <td><code>180</code></td>
86
+ </tr>
87
+ <tr>
88
+ <td><code>node['mysql']['tunable']['net_read_timeout']</code></td>
89
+ <td></td>
90
+ <td><code>30</code></td>
91
+ </tr>
92
+ <tr>
93
+ <td><code>node['mysql']['tunable']['net_write_timeout']</code></td>
94
+ <td></td>
95
+ <td><code>30</code></td>
96
+ </tr>
97
+ <tr>
98
+ <td><code>node['mysql']['tunable']['back_log']</code></td>
99
+ <td></td>
100
+ <td><code>128</code></td>
101
+ </tr>
102
+ <tr>
103
+ <td><code>node['mysql']['tunable']['table_cache']</code></td>
104
+ <td></td>
105
+ <td><code>128</code></td>
106
+ </tr>
107
+ <tr>
108
+ <td><code>node['mysql']['tunable']['table_open_cache']</code></td>
109
+ <td></td>
110
+ <td><code>128</code></td>
111
+ </tr>
112
+ <tr>
113
+ <td><code>node['mysql']['tunable']['max_heap_table_size']</code></td>
114
+ <td></td>
115
+ <td><code>32M</code></td>
116
+ </tr>
117
+ <tr>
118
+ <td><code>node['mysql']['tunable']['expire_logs_days']</code></td>
119
+ <td></td>
120
+ <td><code>10</code></td>
121
+ </tr>
122
+ <tr>
123
+ <td><code>node['mysql']['tunable']['max_binlog_size']</code></td>
124
+ <td></td>
125
+ <td><code>100M</code></td>
126
+ </tr>
127
+ <tr>
128
+ <td><code>node['mysql']['client']</code></td>
129
+ <td>Hash of MySQL client attributes</td>
130
+ <td><code></code></td>
131
+ </tr>
132
+ <tr>
133
+ <td><code>node['mysql']['client']['version']</code></td>
134
+ <td></td>
135
+ <td><code>6.0.2</code></td>
136
+ </tr>
137
+ <tr>
138
+ <td><code>node['mysql']['client']['arch']</code></td>
139
+ <td></td>
140
+ <td><code>win32</code></td>
141
+ </tr>
142
+ <tr>
143
+ <td><code>node['mysql']['client']['package_file']</code></td>
144
+ <td></td>
145
+ <td><code>mysql-connector-c-6.0.2-win32.msi</code></td>
146
+ </tr>
147
+ <tr>
148
+ <td><code>node['mysql']['client']['url']</code></td>
149
+ <td></td>
150
+ <td><code>http://www.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.0.2-win32.msi/from/http://mysql.mirrors.pair.com/</code></td>
151
+ </tr>
152
+ <tr>
153
+ <td><code>node['mysql']['client']['package_name']</code></td>
154
+ <td></td>
155
+ <td><code>MySQL Connector C 6.0.2</code></td>
156
+ </tr>
157
+ <tr>
158
+ <td><code>node['mysql']['client']['basedir']</code></td>
159
+ <td></td>
160
+ <td><code>C:\Program Files (x86)\MySQL\Connector C 6.0.2</code></td>
161
+ </tr>
162
+ <tr>
163
+ <td><code>node['mysql']['client']['lib_dir']</code></td>
164
+ <td></td>
165
+ <td><code>C:\Program Files (x86)\MySQL\Connector C 6.0.2\lib\opt</code></td>
166
+ </tr>
167
+ <tr>
168
+ <td><code>node['mysql']['client']['bin_dir']</code></td>
169
+ <td></td>
170
+ <td><code>C:\Program Files (x86)\MySQL\Connector C 6.0.2\bin</code></td>
171
+ </tr>
172
+ <tr>
173
+ <td><code>node['mysql']['client']['ruby_dir']</code></td>
174
+ <td></td>
175
+ <td><code>system ruby</code></td>
176
+ </tr>
177
+ </table>
178
+
179
+ Recipes
180
+ -------
181
+
182
+ ### mysql
183
+
184
+ Includes the client recipe to configure a client
185
+
186
+ ### mysql::client
187
+
188
+ Installs packages required for mysql clients using run_action magic
189
+
190
+ ### mysql::server
191
+
192
+ Installs packages required for mysql servers w/o manual intervention
193
+
194
+ ### mysql::server_ec2
195
+
196
+ Performs EC2-specific mountpoint manipulation
197
+
198
+
199
+ License and Author
200
+ ------------------
201
+
202
+ Author:: Opscode, Inc. (<cookbooks@opscode.com>)
203
+
204
+ Copyright:: 2013, Opscode, Inc.
205
+
206
+ License:: Apache 2.0