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

Commit bf6c3ee

Browse files
committed
improve code quality, doc and metadata
1 parent d95c7ac commit bf6c3ee

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
###2.2.0
22

3-
* Support for adding Oracle Java as a java alternative
3+
* Support adding Oracle Java as a java alternative
44
* New `add_alternative` parameter
55
* List of checksums now complete
66

manifests/download.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
# download archive
2323
Archive {
24-
cookie => "oraclelicense=accept-securebackup-cookie",
24+
cookie => 'oraclelicense=accept-securebackup-cookie',
2525
source => $oracle_java::downloadurl,
2626
cleanup => false,
2727
require => File['/usr/java']

manifests/install.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515

1616
case $oracle_java::format_real {
17-
'rpm' : { contain oracle_java::install::rpm }
18-
'tar.gz' : { contain oracle_java::install::targz }
17+
'rpm' : { contain oracle_java::install::rpm }
18+
default : { contain oracle_java::install::targz }
1919
}
2020
}

metadata.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"author": "Antoine Cotten",
3-
"license": "Apache License, Version 2.0",
3+
"license": "Apache-2.0",
44
"name": "aco-oracle_java",
55
"project_page": "https://github.com/tOnI0/aco-oracle_java",
66
"source": "git://github.com/tOnI0/aco-oracle_java.git",
@@ -120,8 +120,11 @@
120120
"operatingsystemrelease": [
121121
"12.04",
122122
"12.10",
123+
"13.04",
124+
"13.10",
123125
"14.04",
124-
"14.10"
126+
"14.10",
127+
"15.04"
125128
]
126129
},
127130
{

0 commit comments

Comments
 (0)