From 1d274be18cf634ed7ef82f74304a15051d2c0460 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 23 Nov 2022 13:24:04 +0000 Subject: [PATCH] Release prep v9.0.0 --- CHANGELOG.md | 16 +++ REFERENCE.md | 334 +++++++++++++++++++++++++------------------------- metadata.json | 2 +- 3 files changed, 184 insertions(+), 168 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 16463811..792536fe 100644 --- a/CHANGELOG.md +++ b/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). +## [v9.0.0](https://github.com/puppetlabs/puppetlabs-java/tree/v9.0.0) (2022-11-23) + +[Full Changelog](https://github.com/puppetlabs/puppetlabs-java/compare/v8.2.0...v9.0.0) + +### Changed + +- \(CONT-263\) Update minimum required puppet version [\#535](https://github.com/puppetlabs/puppetlabs-java/pull/535) ([LukasAud](https://github.com/LukasAud)) + +### Fixed + +- Update package naming to differentiate between minor versions [\#534](https://github.com/puppetlabs/puppetlabs-java/pull/534) ([sd-z](https://github.com/sd-z)) +- \(CONT-173\) - Updating deprecated facter instances [\#531](https://github.com/puppetlabs/puppetlabs-java/pull/531) ([jordanbreen28](https://github.com/jordanbreen28)) +- pdksync - \(CONT-189\) Remove support for RedHat6 / OracleLinux6 / Scientific6 [\#530](https://github.com/puppetlabs/puppetlabs-java/pull/530) ([david22swan](https://github.com/david22swan)) +- pdksync - \(CONT-130\) - Dropping Support for Debian 9 [\#527](https://github.com/puppetlabs/puppetlabs-java/pull/527) ([jordanbreen28](https://github.com/jordanbreen28)) +- Hardening manifests [\#525](https://github.com/puppetlabs/puppetlabs-java/pull/525) ([LukasAud](https://github.com/LukasAud)) + ## [v8.2.0](https://github.com/puppetlabs/puppetlabs-java/tree/v8.2.0) (2022-08-09) [Full Changelog](https://github.com/puppetlabs/puppetlabs-java/compare/v8.1.0...v8.2.0) diff --git a/REFERENCE.md b/REFERENCE.md index aab0cf6b..9ed34192 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -19,10 +19,10 @@ options, even though those are not in the package repositories. ### Defined types -* [`java::adopt`](#javaadopt): Install one or more versions of AdoptOpenJDK Java. -* [`java::adoptium`](#javaadoptium): Install one or more versions of Adoptium Temurin OpenJDK (former AdoptOpenJDK). -* [`java::download`](#javadownload): Installs Java from a url location. -* [`java::sap`](#javasap): Install one or more versions of SAPJVM or Sapmachine +* [`java::adopt`](#java--adopt): Install one or more versions of AdoptOpenJDK Java. +* [`java::adoptium`](#java--adoptium): Install one or more versions of Adoptium Temurin OpenJDK (former AdoptOpenJDK). +* [`java::download`](#java--download): Installs Java from a url location. +* [`java::sap`](#java--sap): Install one or more versions of SAPJVM or Sapmachine ## Classes @@ -34,15 +34,15 @@ This module manages the Java runtime package The following parameters are available in the `java` class: -* [`distribution`](#distribution) -* [`version`](#version) -* [`package`](#package) -* [`package_options`](#package_options) -* [`java_alternative`](#java_alternative) -* [`java_alternative_path`](#java_alternative_path) -* [`java_home`](#java_home) +* [`distribution`](#-java--distribution) +* [`version`](#-java--version) +* [`package`](#-java--package) +* [`package_options`](#-java--package_options) +* [`java_alternative`](#-java--java_alternative) +* [`java_alternative_path`](#-java--java_alternative_path) +* [`java_home`](#-java--java_home) -##### `distribution` +##### `distribution` Data type: `String` @@ -52,7 +52,7 @@ implementations available (eg: OpenJDK vs Oracle JDK). Default value: `'jdk'` -##### `version` +##### `version` Data type: `Pattern[/present|installed|latest|^[.+_0-9a-zA-Z:~-]+$/]` @@ -61,25 +61,25 @@ that java is present, and does not require a specific version. Default value: `'present'` -##### `package` +##### `package` Data type: `Optional[String]` The name of the java package. This is configurable in case a non-standard java package is desired. -Default value: ``undef`` +Default value: `undef` -##### `package_options` +##### `package_options` Data type: `Optional[Array]` Array of strings to pass installation options to the 'package' Puppet resource. Options available depend on the 'package' provider for the target OS. -Default value: ``undef`` +Default value: `undef` -##### `java_alternative` +##### `java_alternative` Data type: `Optional[String]` @@ -89,9 +89,9 @@ If you specify a particular package, you will almost always also want to specify which java_alternative to choose. If you set this, you also need to set the path below. -Default value: ``undef`` +Default value: `undef` -##### `java_alternative_path` +##### `java_alternative_path` Data type: `Optional[String]` @@ -100,20 +100,20 @@ alternatives system makes it difficult to verify which alternative is actually enabled, this is required to ensure the correct JVM is enabled. -Default value: ``undef`` +Default value: `undef` -##### `java_home` +##### `java_home` Data type: `Optional[String]` The path to where the JRE is installed. This will be set as an environment variable. -Default value: ``undef`` +Default value: `undef` ## Defined types -### `java::adopt` +### `java::adopt` Defined Type java::adopt @@ -121,21 +121,21 @@ Defined Type java::adopt The following parameters are available in the `java::adopt` defined type: -* [`ensure`](#ensure) -* [`version`](#version) -* [`version_major`](#version_major) -* [`version_minor`](#version_minor) -* [`java`](#java) -* [`proxy_server`](#proxy_server) -* [`proxy_type`](#proxy_type) -* [`url`](#url) -* [`basedir`](#basedir) -* [`manage_basedir`](#manage_basedir) -* [`package_type`](#package_type) -* [`manage_symlink`](#manage_symlink) -* [`symlink_name`](#symlink_name) +* [`ensure`](#-java--adopt--ensure) +* [`version`](#-java--adopt--version) +* [`version_major`](#-java--adopt--version_major) +* [`version_minor`](#-java--adopt--version_minor) +* [`java`](#-java--adopt--java) +* [`proxy_server`](#-java--adopt--proxy_server) +* [`proxy_type`](#-java--adopt--proxy_type) +* [`url`](#-java--adopt--url) +* [`basedir`](#-java--adopt--basedir) +* [`manage_basedir`](#-java--adopt--manage_basedir) +* [`package_type`](#-java--adopt--package_type) +* [`manage_symlink`](#-java--adopt--manage_symlink) +* [`symlink_name`](#-java--adopt--symlink_name) -##### `ensure` +##### `ensure` Data type: `Any` @@ -143,7 +143,7 @@ Install or remove the package. Default value: `'present'` -##### `version` +##### `version` Data type: `Any` @@ -151,23 +151,23 @@ Version of Java to install, e.g. '8' or '9'. Default values for major and minor Default value: `'8'` -##### `version_major` +##### `version_major` Data type: `Any` Major version which should be installed, e.g. '8u101' or '9.0.4'. Must be used together with version_minor. -Default value: ``undef`` +Default value: `undef` -##### `version_minor` +##### `version_minor` Data type: `Any` Minor version which should be installed, e.g. 'b12' (for version = '8') or '11' (for version != '8'). Must be used together with version_major. -Default value: ``undef`` +Default value: `undef` -##### `java` +##### `java` Data type: `Any` @@ -175,49 +175,49 @@ Type of Java Standard Edition to install, jdk or jre. Default value: `'jdk'` -##### `proxy_server` +##### `proxy_server` Data type: `Any` Specify a proxy server, with port number if needed. ie: https://example.com:8080. (passed to archive) -Default value: ``undef`` +Default value: `undef` -##### `proxy_type` +##### `proxy_type` Data type: `Any` Proxy server type (none|http|https|ftp). (passed to archive) -Default value: ``undef`` +Default value: `undef` -##### `url` +##### `url` Data type: `Any` Full URL -Default value: ``undef`` +Default value: `undef` -##### `basedir` +##### `basedir` Data type: `Any` Directory under which the installation will occur. If not set, defaults to /usr/lib/jvm for Debian and /usr/java for RedHat. -Default value: ``undef`` +Default value: `undef` -##### `manage_basedir` +##### `manage_basedir` Data type: `Any` Whether to manage the basedir directory. Defaults to false. Note: /usr/lib/jvm is managed for Debian by default, separate from this parameter. -Default value: ``true`` +Default value: `true` -##### `package_type` +##### `package_type` Data type: `Any` @@ -225,25 +225,25 @@ Type of installation package for specified version of java_se. java_se 6 comes in a few installation package flavors and we need to account for them. Optional forced package types: rpm, rpmbin, tar.gz -Default value: ``undef`` +Default value: `undef` -##### `manage_symlink` +##### `manage_symlink` Data type: `Any` Whether to manage a symlink that points to the installation directory. Defaults to false. -Default value: ``false`` +Default value: `false` -##### `symlink_name` +##### `symlink_name` Data type: `Any` The name for the optional symlink in the installation directory. -Default value: ``undef`` +Default value: `undef` -### `java::adoptium` +### `java::adoptium` Defined Type java::adoptium @@ -251,20 +251,20 @@ Defined Type java::adoptium The following parameters are available in the `java::adoptium` defined type: -* [`ensure`](#ensure) -* [`version_major`](#version_major) -* [`version_minor`](#version_minor) -* [`version_patch`](#version_patch) -* [`version_build`](#version_build) -* [`proxy_server`](#proxy_server) -* [`proxy_type`](#proxy_type) -* [`url`](#url) -* [`basedir`](#basedir) -* [`manage_basedir`](#manage_basedir) -* [`manage_symlink`](#manage_symlink) -* [`symlink_name`](#symlink_name) +* [`ensure`](#-java--adoptium--ensure) +* [`version_major`](#-java--adoptium--version_major) +* [`version_minor`](#-java--adoptium--version_minor) +* [`version_patch`](#-java--adoptium--version_patch) +* [`version_build`](#-java--adoptium--version_build) +* [`proxy_server`](#-java--adoptium--proxy_server) +* [`proxy_type`](#-java--adoptium--proxy_type) +* [`url`](#-java--adoptium--url) +* [`basedir`](#-java--adoptium--basedir) +* [`manage_basedir`](#-java--adoptium--manage_basedir) +* [`manage_symlink`](#-java--adoptium--manage_symlink) +* [`symlink_name`](#-java--adoptium--symlink_name) -##### `ensure` +##### `ensure` Data type: `Any` @@ -272,97 +272,97 @@ Install or remove the package. Default value: `'present'` -##### `version_major` +##### `version_major` Data type: `Any` Major version which should be installed, e.g. '16' or '17' -Default value: ``undef`` +Default value: `undef` -##### `version_minor` +##### `version_minor` Data type: `Any` Minor version which should be installed, e.g. '0' -Default value: ``undef`` +Default value: `undef` -##### `version_patch` +##### `version_patch` Data type: `Any` Minor version which should be installed, e.g. '2' -Default value: ``undef`` +Default value: `undef` -##### `version_build` +##### `version_build` Data type: `Any` Build version which should be installed, e.g. '07' -Default value: ``undef`` +Default value: `undef` -##### `proxy_server` +##### `proxy_server` Data type: `Any` Specify a proxy server, with port number if needed. ie: https://example.com:8080. (passed to archive) -Default value: ``undef`` +Default value: `undef` -##### `proxy_type` +##### `proxy_type` Data type: `Any` Proxy server type (none|http|https|ftp). (passed to archive) -Default value: ``undef`` +Default value: `undef` -##### `url` +##### `url` Data type: `Any` Full URL -Default value: ``undef`` +Default value: `undef` -##### `basedir` +##### `basedir` Data type: `Any` Directory under which the installation will occur. If not set, defaults to /usr/lib/jvm for Debian and /usr/java for RedHat. -Default value: ``undef`` +Default value: `undef` -##### `manage_basedir` +##### `manage_basedir` Data type: `Any` Whether to manage the basedir directory. Defaults to false. Note: /usr/lib/jvm is managed for Debian by default, separate from this parameter. -Default value: ``true`` +Default value: `true` -##### `manage_symlink` +##### `manage_symlink` Data type: `Any` Whether to manage a symlink that points to the installation directory. Defaults to false. -Default value: ``false`` +Default value: `false` -##### `symlink_name` +##### `symlink_name` Data type: `Any` The name for the optional symlink in the installation directory. -Default value: ``undef`` +Default value: `undef` -### `java::download` +### `java::download` Defined Type java::download @@ -370,23 +370,23 @@ Defined Type java::download The following parameters are available in the `java::download` defined type: -* [`ensure`](#ensure) -* [`version`](#version) -* [`version_major`](#version_major) -* [`version_minor`](#version_minor) -* [`java_se`](#java_se) -* [`proxy_server`](#proxy_server) -* [`proxy_type`](#proxy_type) -* [`url`](#url) -* [`jce`](#jce) -* [`jce_url`](#jce_url) -* [`basedir`](#basedir) -* [`manage_basedir`](#manage_basedir) -* [`package_type`](#package_type) -* [`manage_symlink`](#manage_symlink) -* [`symlink_name`](#symlink_name) +* [`ensure`](#-java--download--ensure) +* [`version`](#-java--download--version) +* [`version_major`](#-java--download--version_major) +* [`version_minor`](#-java--download--version_minor) +* [`java_se`](#-java--download--java_se) +* [`proxy_server`](#-java--download--proxy_server) +* [`proxy_type`](#-java--download--proxy_type) +* [`url`](#-java--download--url) +* [`jce`](#-java--download--jce) +* [`jce_url`](#-java--download--jce_url) +* [`basedir`](#-java--download--basedir) +* [`manage_basedir`](#-java--download--manage_basedir) +* [`package_type`](#-java--download--package_type) +* [`manage_symlink`](#-java--download--manage_symlink) +* [`symlink_name`](#-java--download--symlink_name) -##### `ensure` +##### `ensure` Data type: `Any` @@ -394,7 +394,7 @@ Install or remove the package. Default value: `'present'` -##### `version` +##### `version` Data type: `Any` @@ -402,23 +402,23 @@ Version of Java to install, e.g. '7' or '8'. Default values for major and minor Default value: `'8'` -##### `version_major` +##### `version_major` Data type: `Any` Major version which should be installed, e.g. '8u101'. Must be used together with version_minor. -Default value: ``undef`` +Default value: `undef` -##### `version_minor` +##### `version_minor` Data type: `Any` Minor version which should be installed, e.g. 'b12'. Must be used together with version_major. -Default value: ``undef`` +Default value: `undef` -##### `java_se` +##### `java_se` Data type: `Any` @@ -426,65 +426,65 @@ Type of Java Standard Edition to install, jdk or jre. Default value: `'jdk'` -##### `proxy_server` +##### `proxy_server` Data type: `Any` Specify a proxy server, with port number if needed. ie: https://example.com:8080. (passed to archive) -Default value: ``undef`` +Default value: `undef` -##### `proxy_type` +##### `proxy_type` Data type: `Any` Proxy server type (none|http|https|ftp). (passed to archive) -Default value: ``undef`` +Default value: `undef` -##### `url` +##### `url` Data type: `Any` Full URL -Default value: ``undef`` +Default value: `undef` -##### `jce` +##### `jce` Data type: `Any` Install Oracles Java Cryptographic Extensions into the JRE or JDK -Default value: ``false`` +Default value: `false` -##### `jce_url` +##### `jce_url` Data type: `Any` Full URL to the jce zip file -Default value: ``undef`` +Default value: `undef` -##### `basedir` +##### `basedir` Data type: `Any` Directory under which the installation will occur. If not set, defaults to /usr/lib/jvm for Debian and /usr/java for RedHat. -Default value: ``undef`` +Default value: `undef` -##### `manage_basedir` +##### `manage_basedir` Data type: `Any` Whether to manage the basedir directory. Defaults to false. Note: /usr/lib/jvm is managed for Debian by default, separate from this parameter. -Default value: ``false`` +Default value: `false` -##### `package_type` +##### `package_type` Data type: `Any` @@ -492,25 +492,25 @@ Type of installation package for specified version of java_se. java_se 6 comes in a few installation package flavors and we need to account for them. Optional forced package types: rpm, rpmbin, tar.gz -Default value: ``undef`` +Default value: `undef` -##### `manage_symlink` +##### `manage_symlink` Data type: `Any` Whether to manage a symlink that points to the installation directory. Defaults to false. -Default value: ``false`` +Default value: `false` -##### `symlink_name` +##### `symlink_name` Data type: `Any` The name for the optional symlink in the installation directory. -Default value: ``undef`` +Default value: `undef` -### `java::sap` +### `java::sap` Defined Type java::sap @@ -518,18 +518,18 @@ Defined Type java::sap The following parameters are available in the `java::sap` defined type: -* [`ensure`](#ensure) -* [`version`](#version) -* [`version_full`](#version_full) -* [`java`](#java) -* [`proxy_server`](#proxy_server) -* [`proxy_type`](#proxy_type) -* [`basedir`](#basedir) -* [`manage_basedir`](#manage_basedir) -* [`manage_symlink`](#manage_symlink) -* [`symlink_name`](#symlink_name) +* [`ensure`](#-java--sap--ensure) +* [`version`](#-java--sap--version) +* [`version_full`](#-java--sap--version_full) +* [`java`](#-java--sap--java) +* [`proxy_server`](#-java--sap--proxy_server) +* [`proxy_type`](#-java--sap--proxy_type) +* [`basedir`](#-java--sap--basedir) +* [`manage_basedir`](#-java--sap--manage_basedir) +* [`manage_symlink`](#-java--sap--manage_symlink) +* [`symlink_name`](#-java--sap--symlink_name) -##### `ensure` +##### `ensure` Data type: `Any` @@ -537,7 +537,7 @@ Install or remove the package. Default value: `'present'` -##### `version` +##### `version` Data type: `Any` @@ -545,15 +545,15 @@ Version of Java to install, e.g. '8' or '9'. Default values for full versions wi Default value: `'8'` -##### `version_full` +##### `version_full` Data type: `Any` Major version which should be installed, e.g. '8.1.063' or '11.0.7'. If used, "version" parameter is ignored. -Default value: ``undef`` +Default value: `undef` -##### `java` +##### `java` Data type: `Any` @@ -561,53 +561,53 @@ Type of Java Edition to install, jdk or jre. Default value: `'jdk'` -##### `proxy_server` +##### `proxy_server` Data type: `Any` Specify a proxy server, with port number if needed. ie: https://example.com:8080. (passed to archive) -Default value: ``undef`` +Default value: `undef` -##### `proxy_type` +##### `proxy_type` Data type: `Any` Proxy server type (none|http|https|ftp). (passed to archive) -Default value: ``undef`` +Default value: `undef` -##### `basedir` +##### `basedir` Data type: `Any` Directory under which the installation will occur. If not set, defaults to /usr/lib/jvm for Debian and /usr/java for RedHat. -Default value: ``undef`` +Default value: `undef` -##### `manage_basedir` +##### `manage_basedir` Data type: `Any` Whether to manage the basedir directory. Defaults to false. Note: /usr/lib/jvm is managed for Debian by default, separate from this parameter. -Default value: ``true`` +Default value: `true` -##### `manage_symlink` +##### `manage_symlink` Data type: `Any` Whether to manage a symlink that points to the installation directory. Defaults to false. -Default value: ``false`` +Default value: `false` -##### `symlink_name` +##### `symlink_name` Data type: `Any` The name for the optional symlink in the installation directory. -Default value: ``undef`` +Default value: `undef` diff --git a/metadata.json b/metadata.json index 100f3f4e..d60ff4c3 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-java", - "version": "8.2.0", + "version": "9.0.0", "author": "puppetlabs", "summary": "Installs the correct Java package on various platforms.", "license": "Apache-2.0",