OSDN Git Service
(root)
/
metasearch
/
grid-chef-repo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
docker-grid-0.1.0
[metasearch/grid-chef-repo.git]
/
roles
/
java7.rb
1
name 'java7'
2
description 'Java Platform, Standard Edition'
3
4
run_list(
5
'recipe[java]'
6
)
7
8
#env_run_lists()
9
10
default_attributes(
11
'java' => {
12
'install_flavor' => 'oracle',
13
'jdk_version' => '7',
14
'java_home' => '/usr/local/jvm/java-7-ora',
15
'oracle' => {
16
'accept_oracle_download_terms' => true
17
},
18
=begin Not effective
19
'jdk' => {
20
'7' => {
21
'bin_cmds' => []
22
}
23
}
24
=end
25
}
26
)
27
28
override_attributes(
29
'java' => {
30
'jdk' => {
31
'7' => {
32
# no update-alternatives
33
'bin_cmds' => []
34
}
35
}
36
}
37
)
38