forked from sous-chefs/java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata.rb
47 lines (43 loc) · 1.36 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
37
38
39
40
41
42
43
44
45
46
47
name 'java'
maintainer 'Agile Orbit'
maintainer_email '[email protected]'
license 'Apache 2.0'
description 'Installs Java runtime.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.39.0'
recipe 'java::default', 'Installs Java runtime'
recipe 'java::default_java_symlink', 'Updates /usr/lib/jvm/default-java'
recipe 'java::ibm', 'Installs the JDK for IBM'
recipe 'java::ibm_tar', 'Installs the JDK for IBM from a tarball'
recipe 'java::openjdk', 'Installs the OpenJDK flavor of Java'
recipe 'java::oracle', 'Installs the Oracle flavor of Java'
recipe 'java::oracle_i386', 'Installs the 32-bit jvm without setting it as the default'
recipe 'java::oracle_rpm', 'Installs the Oracle RPM flavor of Java'
recipe 'java::purge_packages', 'Purges old Sun JDK packages'
recipe 'java::set_attributes_from_version', 'Sets various attributes that depend on jdk_version'
recipe 'java::set_java_home', 'Sets the JAVA_HOME environment variable'
recipe 'java::windows', 'Installs the JDK on Windows'
recipe 'java::homebrew', 'Installs the JDK on Mac OS X via Homebrew'
%w(
debian
ubuntu
centos
redhat
scientific
fedora
amazon
arch
oracle
freebsd
windows
suse
xenserver
smartos
mac_os_x
).each do |os|
supports os
end
depends 'apt'
suggests 'homebrew'
suggests 'windows'
suggests 'aws'