This repository was archived by the owner on Dec 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 8
8
fail(' You must include the oracle_java base class before using any oracle_java sub class' )
9
9
}
10
10
11
+ # dependency
12
+ if !defined (Class[' archive' ]) {
13
+ include archive
14
+ }
15
+
11
16
# make sure install/download directory exists
12
17
file { '/usr/java' :
13
18
ensure => directory ,
Original file line number Diff line number Diff line change 8
8
fail(' You must include the oracle_java base class before using any oracle_java sub class' )
9
9
}
10
10
11
- # dependency
12
- if !defined (Class[' archive' ]) {
13
- include archive
14
- }
15
-
16
11
case $oracle_java::format_real {
17
12
' rpm' : { contain oracle_java::install::rpm }
18
13
default : { contain oracle_java::install::targz }
Original file line number Diff line number Diff line change 8
8
fail(' You must include the oracle_java base class before using any oracle_java sub class' )
9
9
}
10
10
11
+ # dependency
12
+ if !defined (Class[' archive' ]) {
13
+ include archive
14
+ }
15
+
11
16
# extract archive
12
17
archive { 'extract java archive' :
13
18
path => " /usr/java/${oracle_java::filename} " ,
You can’t perform that action at this time.
0 commit comments