Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 6b9c447

Browse files
committed
cleanup tar.gz archive after extraction
(#6)
1 parent 5a1a109 commit 6b9c447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/download.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@
3939
require => File['/usr/java'],
4040
}
4141
} else {
42-
# also extract if tar.gz
42+
# also extract and clean up if tar.gz
4343
archive { "/usr/java/${oracle_java::filename}":
4444
cookie => 'oraclelicense=accept-securebackup-cookie',
4545
source => $oracle_java::downloadurl,
46-
cleanup => false,
46+
cleanup => true,
4747
require => File['/usr/java'],
4848
extract => true,
4949
extract_path => '/usr/java',

0 commit comments

Comments
 (0)