Skip to content

Commit cb10f5c

Browse files
committed
version 1.2.0 adds support for java 8 on old Ubuntu releases via ppa
1 parent 4082b7e commit cb10f5c

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
##2017-04-04 - Release - 1.2.0
2+
###Summary
3+
Added support for java 8 on Ubuntu 12.04 and 14.04 via ppa repository.
4+
15
##2017-03-10 - Release - 1.1.2
26
###Summary
37
Fixed empty release.

README.markdown

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ This is the java module. It allows to install Java OpenJDK and configure the def
2121

2222
The module provides classes and defines to install Java OpenJDK and configure the java alternative on Debian and RedHat family distributions.
2323
It allows to install multiple Java versions on the same node.
24+
It allows to install java 8 even if it is not in the standard repository in Ubuntu 12.04 and 14.04 via ppa.
2425

2526
##Setup
2627

@@ -30,6 +31,8 @@ The module install the OpenJDK package from the repositories and set up the alte
3031

3132
If hiera defines a value for the parameter `java::java_default_version` the alternative system link for the command java is set to manual mode according to specified version. Otherwise it is left as it is.
3233

34+
In case java 8 installation is required on Ubuntu 12.04 or Ubuntu 14.04 the repository `ppa:openjdk-r/ppa` is added.
35+
3336
###Setup Requirements
3437

3538
The module has no special requirements.
@@ -103,7 +106,7 @@ Specifies the default java in case multiple versions are installed. Valid option
103106

104107
##Limitations
105108

106-
At the moment the module targets only OpenJDK 6, 7 and 8 on Debian, Ubuntu, RedHat and CentOS platforms. Specifically, it is tested only on Ubuntu 12.04 and CentOS 6.6 distributions; although probably it will work also on different versions.
109+
At the moment the module targets only OpenJDK 6, 7 and 8 on Debian, Ubuntu, RedHat and CentOS platforms. Specifically, it was tested on Ubuntu 12.04, 14.04, 16.04 and CentOS 6.6 distributions; although probably it will work also on different versions.
107110

108111
##Development
109112

manifests/init.pp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
define java (
3131
$java_version = $title,
3232
$java_default_version = hiera('java::java_default_version', undef)) {
33+
include apt
3334
java::install_config { $java_version:
3435
java_default_version => $java_default_version,
3536
}

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@
2727
}
2828
],
2929
"tags": ["java", "jee", "jvm", "middleware"],
30-
"version": "1.1.2"
30+
"version": "1.2.0"
3131
}

0 commit comments

Comments
 (0)