Release version 6.2.0
This commit is contained in:
18
CHANGELOG.md
18
CHANGELOG.md
@@ -2,6 +2,22 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
|
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
|
||||||
|
|
||||||
|
## [v6.2.0](https://github.com/puppetlabs/puppetlabs-java/tree/v6.2.0) (2020-02-18)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/puppetlabs/puppetlabs-java/compare/v6.1.0...v6.2.0)
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Support AdoptOpenJDK [\#370](https://github.com/puppetlabs/puppetlabs-java/pull/370) ([timdeluxe](https://github.com/timdeluxe))
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Replace legacy facts by modern facts [\#406](https://github.com/puppetlabs/puppetlabs-java/pull/406) ([hdeheer](https://github.com/hdeheer))
|
||||||
|
|
||||||
|
## [v6.1.0](https://github.com/puppetlabs/puppetlabs-java/tree/v6.1.0) (2020-02-03)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/puppetlabs/puppetlabs-java/compare/v6.0.0...v6.1.0)
|
||||||
|
|
||||||
## [v6.0.0](https://github.com/puppetlabs/puppetlabs-java/tree/v6.0.0) (2019-11-11)
|
## [v6.0.0](https://github.com/puppetlabs/puppetlabs-java/tree/v6.0.0) (2019-11-11)
|
||||||
|
|
||||||
[Full Changelog](https://github.com/puppetlabs/puppetlabs-java/compare/v5.0.1...v6.0.0)
|
[Full Changelog](https://github.com/puppetlabs/puppetlabs-java/compare/v5.0.1...v6.0.0)
|
||||||
@@ -32,7 +48,6 @@ All notable changes to this project will be documented in this file. The format
|
|||||||
|
|
||||||
- \(FM-8223\) converted to use litmus [\#376](https://github.com/puppetlabs/puppetlabs-java/pull/376) ([tphoney](https://github.com/tphoney))
|
- \(FM-8223\) converted to use litmus [\#376](https://github.com/puppetlabs/puppetlabs-java/pull/376) ([tphoney](https://github.com/tphoney))
|
||||||
- Add buster support, default to 11 [\#369](https://github.com/puppetlabs/puppetlabs-java/pull/369) ([mhjacks](https://github.com/mhjacks))
|
- Add buster support, default to 11 [\#369](https://github.com/puppetlabs/puppetlabs-java/pull/369) ([mhjacks](https://github.com/mhjacks))
|
||||||
- Add support for debian buster [\#364](https://github.com/puppetlabs/puppetlabs-java/pull/364) ([TomRitserveldt](https://github.com/TomRitserveldt))
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
@@ -57,6 +72,7 @@ All notable changes to this project will be documented in this file. The format
|
|||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
- Add support for debian buster [\#364](https://github.com/puppetlabs/puppetlabs-java/pull/364) ([TomRitserveldt](https://github.com/TomRitserveldt))
|
||||||
- \(FM-7921\) - Implement Puppet Strings [\#353](https://github.com/puppetlabs/puppetlabs-java/pull/353) ([david22swan](https://github.com/david22swan))
|
- \(FM-7921\) - Implement Puppet Strings [\#353](https://github.com/puppetlabs/puppetlabs-java/pull/353) ([david22swan](https://github.com/david22swan))
|
||||||
- Update default version & java 8 version from 8u192 to 8u201 [\#347](https://github.com/puppetlabs/puppetlabs-java/pull/347) ([valentinsavenko](https://github.com/valentinsavenko))
|
- Update default version & java 8 version from 8u192 to 8u201 [\#347](https://github.com/puppetlabs/puppetlabs-java/pull/347) ([valentinsavenko](https://github.com/valentinsavenko))
|
||||||
- Add ability to override basedir and package type for oracle java [\#345](https://github.com/puppetlabs/puppetlabs-java/pull/345) ([fraenki](https://github.com/fraenki))
|
- Add ability to override basedir and package type for oracle java [\#345](https://github.com/puppetlabs/puppetlabs-java/pull/345) ([fraenki](https://github.com/fraenki))
|
||||||
|
|||||||
201
REFERENCE.md
201
REFERENCE.md
@@ -18,6 +18,7 @@ options, even though those are not in the package repositories.
|
|||||||
|
|
||||||
**Defined types**
|
**Defined types**
|
||||||
|
|
||||||
|
* [`java::adopt`](#javaadopt): Defined Type java::adopt Description Installs OpenJDK Java built with AdoptOpenJDK with the Hotspot JVM. Install one or more versions of Ad
|
||||||
* [`java::download`](#javadownload): Installs Java from a url location.
|
* [`java::download`](#javadownload): Installs Java from a url location.
|
||||||
|
|
||||||
## Classes
|
## Classes
|
||||||
@@ -101,6 +102,206 @@ Default value: `undef`
|
|||||||
|
|
||||||
## Defined types
|
## Defined types
|
||||||
|
|
||||||
|
### java::adopt
|
||||||
|
|
||||||
|
Defined Type java::adopt
|
||||||
|
|
||||||
|
Description
|
||||||
|
Installs OpenJDK Java built with AdoptOpenJDK with the Hotspot JVM.
|
||||||
|
|
||||||
|
Install one or more versions of AdoptOpenJDK Java.
|
||||||
|
|
||||||
|
Currently only Linux RedHat, Amazon and Debian are supported.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
[*version*]
|
||||||
|
Version of Java to install, e.g. '8' or '9'. Default values for major and minor
|
||||||
|
versions will be used.
|
||||||
|
|
||||||
|
[*version_major*]
|
||||||
|
Major version which should be installed, e.g. '8u101' or '9.0.4'. Must be used together with
|
||||||
|
version_minor.
|
||||||
|
|
||||||
|
[*version_minor*]
|
||||||
|
Minor version which should be installed, e.g. 'b12' (for version = '8') or '11' (for version != '8').
|
||||||
|
Must be used together with version_major.
|
||||||
|
|
||||||
|
[*java_edition*]
|
||||||
|
Type of Java Edition to install, jdk or jre.
|
||||||
|
|
||||||
|
[*ensure*]
|
||||||
|
Install or remove the package.
|
||||||
|
|
||||||
|
[*proxy_server*]
|
||||||
|
Specify a proxy server, with port number if needed. ie: https://example.com:8080. (passed to archive)
|
||||||
|
|
||||||
|
[*proxy_type*]
|
||||||
|
Proxy server type (none|http|https|ftp). (passed to archive)
|
||||||
|
|
||||||
|
[*basedir*]
|
||||||
|
Directory under which the installation will occur. If not set, defaults to
|
||||||
|
/usr/lib/jvm for Debian and /usr/java for RedHat.
|
||||||
|
|
||||||
|
[*manage_basedir*]
|
||||||
|
Whether to manage the basedir directory. Defaults to false.
|
||||||
|
Note: /usr/lib/jvm is managed for Debian by default, separate from this parameter.
|
||||||
|
|
||||||
|
[*package_type*]
|
||||||
|
Type of installation package for specified version of java. java 6 comes
|
||||||
|
in a few installation package flavors and we need to account for them.
|
||||||
|
Optional forced package types: rpm, rpmbin, tar.gz
|
||||||
|
|
||||||
|
Variables
|
||||||
|
[*release_major*]
|
||||||
|
Major version release number for java. Used to construct download URL.
|
||||||
|
|
||||||
|
[*release_minor*]
|
||||||
|
Minor version release number for java. Used to construct download URL.
|
||||||
|
|
||||||
|
[*install_path*]
|
||||||
|
Base install path for specified version of java. Used to determine if java
|
||||||
|
has already been installed.
|
||||||
|
|
||||||
|
[*os*]
|
||||||
|
java OS type.
|
||||||
|
|
||||||
|
[*destination*]
|
||||||
|
Destination directory to save java installer to. Usually /tmp on Linux and
|
||||||
|
C:\TEMP on Windows.
|
||||||
|
|
||||||
|
[*creates_path*]
|
||||||
|
Fully qualified path to java after it is installed. Used to determine if
|
||||||
|
java is already installed.
|
||||||
|
|
||||||
|
[*arch*]
|
||||||
|
java architecture type.
|
||||||
|
|
||||||
|
[*package_name*]
|
||||||
|
Name of the java installation package to download from github.
|
||||||
|
|
||||||
|
[*install_command*]
|
||||||
|
Installation command used to install java. Installation commands
|
||||||
|
differ by package_type. 'bin' types are installed via shell command. 'rpmbin'
|
||||||
|
types have the rpms extracted and then forcibly installed. 'rpm' types are
|
||||||
|
forcibly installed.
|
||||||
|
|
||||||
|
[*spacer*]
|
||||||
|
Spacer to be used in github download url. In major version 8 this is a simple dash
|
||||||
|
in later versions they use a crazy plus sign, which needs to be used in urlencoded
|
||||||
|
format
|
||||||
|
|
||||||
|
[*download_folder_prefix*]
|
||||||
|
Download folder name begins differently depending on the release. After major release
|
||||||
|
8, they have given it a dash. Be aware that even if you want to have a JRE, the folder
|
||||||
|
still begins with "jdk"
|
||||||
|
|
||||||
|
[*release_minor_url*]
|
||||||
|
filled depending on major release. Until major release 8 the minor part needs to be given
|
||||||
|
with a 'b' for build, in later versions it is a underscore or a plus sign, which needs
|
||||||
|
to be stripped for the download url and is replaced with the given spaces (see above)
|
||||||
|
|
||||||
|
[*_package_type*]
|
||||||
|
Helper variable which gets filled depending on parameter package_type
|
||||||
|
|
||||||
|
[*_basedir*]
|
||||||
|
Helper variable which gets filled depending on parameter basedir
|
||||||
|
|
||||||
|
[*_version*]
|
||||||
|
Helper variable which gets filled depending on parameter version
|
||||||
|
|
||||||
|
[*_version_int*]
|
||||||
|
Helper variable which gets the value of $_version converted to integer
|
||||||
|
|
||||||
|
[*_append_jre*]
|
||||||
|
Helper variable which gets filled with the string "-jre" if jre was selected to build the correct install path
|
||||||
|
|
||||||
|
[*_release_minor_package_name*]
|
||||||
|
Helper variable which gets filled with the right minor string depending on the major version
|
||||||
|
|
||||||
|
#### Parameters
|
||||||
|
|
||||||
|
The following parameters are available in the `java::adopt` defined type.
|
||||||
|
|
||||||
|
##### `ensure`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: 'present'
|
||||||
|
|
||||||
|
##### `version`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: '8'
|
||||||
|
|
||||||
|
##### `version_major`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: `undef`
|
||||||
|
|
||||||
|
##### `version_minor`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: `undef`
|
||||||
|
|
||||||
|
##### `java`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: 'jdk'
|
||||||
|
|
||||||
|
##### `proxy_server`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: `undef`
|
||||||
|
|
||||||
|
##### `proxy_type`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: `undef`
|
||||||
|
|
||||||
|
##### `basedir`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: `undef`
|
||||||
|
|
||||||
|
##### `manage_basedir`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: `true`
|
||||||
|
|
||||||
|
##### `package_type`
|
||||||
|
|
||||||
|
Data type: `Any`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Default value: `undef`
|
||||||
|
|
||||||
### java::download
|
### java::download
|
||||||
|
|
||||||
Defined Type java::download
|
Defined Type java::download
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "puppetlabs-java",
|
"name": "puppetlabs-java",
|
||||||
"version": "6.1.0",
|
"version": "6.2.0",
|
||||||
"author": "puppetlabs",
|
"author": "puppetlabs",
|
||||||
"summary": "Installs the correct Java package on various platforms.",
|
"summary": "Installs the correct Java package on various platforms.",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user