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

Commit c9529ac

Browse files
committed
Release v2.5.0
1 parent a43975a commit c9529ac

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
###2.5.0
2+
3+
* New parameters ([angrox](https://github.com/angrox)):
4+
* `install_path`: set Java installation path
5+
* `custom_download_url`: download the Java package/achive from a custom URL
6+
* `custom_checksum`: custom MD5 checksum for package/archive integrity verification
7+
18
###2.4.2
29

310
Add support for Java '8u65'/'8u66'

README.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,6 @@ include oracle_java
4040

4141
####A couple of examples
4242

43-
Install the latest release of the Java 7 SE JRE
44-
45-
```puppet
46-
class { 'oracle_java':
47-
version => 7
48-
}
49-
```
50-
51-
Install the latest available JDK
52-
53-
```puppet
54-
class { 'oracle_java':
55-
type => 'jdk'
56-
}
57-
```
58-
5943
Install a specific version of the JDK
6044

6145
```puppet
@@ -97,6 +81,16 @@ class { 'oracle_java':
9781
}
9882
```
9983

84+
Install from custom archive and URL
85+
86+
```puppet
87+
class { 'oracle_java':
88+
89+
custom_download_url => 'http://myrepo.com/jdk-8u66-linux-x64.tar.gz',
90+
custom_checksum => 'abcdef0123456789abcdef0123456789'
91+
}
92+
```
93+
10094
##Usage
10195

10296
###Classes and Defined Types
@@ -138,7 +132,7 @@ Add `JAVA_HOME` environment variable to the `/etc/environment` file. Boolean val
138132

139133
#####`custom_download_url`
140134

141-
Do not download the Oracle Java archive from Oracle servers, instead use an alternative URL (example: `http://myrepo.com/jdk-8u66-linux-x64.tar.gz`)
135+
Do not download the Oracle Java archive from Oracle servers, instead use an alternative URL. Must but the full URL to the archive file or RPM package
142136

143137
#####`custom_checksum`
144138

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"project_page": "https://github.com/antoineco/aco-oracle_java",
66
"source": "git://github.com/antoineco/aco-oracle_java.git",
77
"summary": "Puppet module to install Oracle Java on Linux systems",
8-
"version": "2.4.2",
8+
"version": "2.5.0",
99
"tags": ["jre","jdk","oracle","java"],
1010
"dependencies": [
1111
{

0 commit comments

Comments
 (0)