Skip to content

Commit 5569d80

Browse files
author
jtimberman
committed
COOK-316, add recipes to metadata for all cookbooks
1 parent a23d8bf commit 5569d80

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

metadata.json

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
{
2-
"maintainer": "Opscode, Inc.",
2+
"recommendations": {
3+
},
34
"attributes": {
45
},
6+
"maintainer": "Opscode, Inc.",
57
"suggestions": {
68
},
9+
"dependencies": {
10+
},
11+
"maintainer_email": "cookbooks@opscode.com",
12+
"conflicting": {
13+
},
714
"platforms": {
8-
"ubuntu": [
15+
"debian": [
916

1017
],
1118
"fedora": [
@@ -14,31 +21,25 @@
1421
"centos": [
1522

1623
],
17-
"redhat": [
24+
"ubuntu": [
1825

1926
],
20-
"debian": [
27+
"redhat": [
2128

2229
]
2330
},
24-
"dependencies": {
25-
},
26-
"maintainer_email": "cookbooks@opscode.com",
27-
"conflicting": {
31+
"license": "Apache 2.0",
32+
"version": "0.10.2",
33+
"providing": {
2834
},
29-
"version": "0.10.1",
30-
"name": "java",
3135
"recipes": {
36+
"java": "Installs openjdk to provide Java"
3237
},
33-
"providing": {
34-
},
35-
"license": "Apache 2.0",
3638
"replacing": {
3739
},
40+
"name": "java",
41+
"description": "Installs java via openjdk.",
3842
"groupings": {
3943
},
40-
"long_description": "= DESCRIPTION:\n\nInstalls Java and Ant.\n\n= REQUIREMENTS:\n\nPlatform: Ubuntu, Debian, Red Hat, CentOS, Fedora.\n\nEnable the 'multiverse' repository on Ubuntu, 'non-free' on Debian or EPEL on RH/Cent/Fedora to get the Java package, or edit the default recipe to point at the Java package for your platform.\n\n= USAGE:\n\nSimply include the recipe where you want Java installed. Note the repository requirement above to get the right package. On Debian and Ubuntu systems, the recipe will preseed the package and update java alternaties.\n\n= LICENSE and AUTHOR:\n\nCopyright 2008-2010, Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
41-
"recommendations": {
42-
},
43-
"description": "Installs java"
44-
}
44+
"long_description": "= DESCRIPTION:\n\nInstalls Java and Ant. Uses OpenJDK, Sun's Java is deprecated in Ubuntu and may not be available in the future.\n\n= REQUIREMENTS:\n\nPlatform: Ubuntu, Debian, Red Hat, CentOS, Fedora.\n\nEnable the 'multiverse' repository on Ubuntu, 'non-free' on Debian or EPEL on RH/Cent/Fedora to get the Java package, or edit the default recipe to point at the Java package for your platform.\n\n= USAGE:\n\nSimply include the recipe where you want Java installed. Note the repository requirement above to get the right package. On Debian and Ubuntu systems, the recipe will preseed the package and update java alternaties.\n\n= LICENSE and AUTHOR:\n\nCopyright 2008-2010, Opscode, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n"
45+
}

metadata.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
license "Apache 2.0"
44
description "Installs java via openjdk."
55
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
6-
version "0.10.1"
6+
version "0.10.2"
7+
8+
recipe "java", "Installs openjdk to provide Java"
79

810
%w{ debian ubuntu redhat centos fedora }.each do |os|
911
supports os

0 commit comments

Comments
 (0)