diff --git a/CHANGELOG.md b/CHANGELOG.md index a8dc6b0..23fbe38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ 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). +## [v7.0.0](https://github.com/puppetlabs/puppetlabs-java/tree/v7.0.0) (2021-03-01) + +[Full Changelog](https://github.com/puppetlabs/puppetlabs-java/compare/v6.5.0...v7.0.0) + +### Changed + +- pdksync - Remove Puppet 5 from testing and bump minimal version to 6.0.0 [\#463](https://github.com/puppetlabs/puppetlabs-java/pull/463) ([carabasdaniel](https://github.com/carabasdaniel)) + +### Fixed + +- \(MODULES-10935\) - Switch legacy operatingsystem fact to modern kernel one [\#461](https://github.com/puppetlabs/puppetlabs-java/pull/461) ([rjd1](https://github.com/rjd1)) + ## [v6.5.0](https://github.com/puppetlabs/puppetlabs-java/tree/v6.5.0) (2020-12-16) [Full Changelog](https://github.com/puppetlabs/puppetlabs-java/compare/v6.4.0...v6.5.0) @@ -463,4 +475,4 @@ Jeff McCune [2.2.0]:https://github.com/puppetlabs/puppetlabs-java/compare/2.1.1...2.2.0 -\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/REFERENCE.md b/REFERENCE.md index a54ce03..654ee16 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -25,15 +25,23 @@ options, even though those are not in the package repositories. ## Classes -### `java` +### `java` This module manages the Java runtime package #### Parameters -The following parameters are available in the `java` class. +The following parameters are available in the `java` class: -##### `distribution` +* [`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` Data type: `String` @@ -43,7 +51,7 @@ implementations available (eg: OpenJDK vs Oracle JDK). Default value: `'jdk'` -##### `version` +##### `version` Data type: `Pattern[/present|installed|latest|^[.+_0-9a-zA-Z:~-]+$/]` @@ -52,7 +60,7 @@ that java is present, and does not require a specific version. Default value: `'present'` -##### `package` +##### `package` Data type: `Optional[String]` @@ -61,7 +69,7 @@ java package is desired. Default value: ``undef`` -##### `package_options` +##### `package_options` Data type: `Optional[Array]` @@ -70,7 +78,7 @@ Options available depend on the 'package' provider for the target OS. Default value: ``undef`` -##### `java_alternative` +##### `java_alternative` Data type: `Optional[String]` @@ -82,7 +90,7 @@ this, you also need to set the path below. Default value: ``undef`` -##### `java_alternative_path` +##### `java_alternative_path` Data type: `Optional[String]` @@ -93,7 +101,7 @@ correct JVM is enabled. Default value: ``undef`` -##### `java_home` +##### `java_home` Data type: `Optional[String]` @@ -104,15 +112,28 @@ Default value: ``undef`` ## Defined types -### `java::adopt` +### `java::adopt` Defined Type java::adopt #### Parameters -The following parameters are available in the `java::adopt` defined type. +The following parameters are available in the `java::adopt` defined type: -##### `ensure` +* [`ensure`](#ensure) +* [`version`](#version) +* [`version_major`](#version_major) +* [`version_minor`](#version_minor) +* [`java`](#java) +* [`proxy_server`](#proxy_server) +* [`proxy_type`](#proxy_type) +* [`basedir`](#basedir) +* [`manage_basedir`](#manage_basedir) +* [`package_type`](#package_type) +* [`manage_symlink`](#manage_symlink) +* [`symlink_name`](#symlink_name) + +##### `ensure` Data type: `Any` @@ -120,7 +141,7 @@ Install or remove the package. Default value: `'present'` -##### `version` +##### `version` Data type: `Any` @@ -128,7 +149,7 @@ 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` @@ -136,7 +157,7 @@ Major version which should be installed, e.g. '8u101' or '9.0.4'. Must be used t Default value: ``undef`` -##### `version_minor` +##### `version_minor` Data type: `Any` @@ -144,7 +165,7 @@ Minor version which should be installed, e.g. 'b12' (for version = '8') or '11' Default value: ``undef`` -##### `java` +##### `java` Data type: `Any` @@ -152,7 +173,7 @@ Type of Java Standard Edition to install, jdk or jre. Default value: `'jdk'` -##### `proxy_server` +##### `proxy_server` Data type: `Any` @@ -160,7 +181,7 @@ Specify a proxy server, with port number if needed. ie: https://example.com:8080 Default value: ``undef`` -##### `proxy_type` +##### `proxy_type` Data type: `Any` @@ -168,7 +189,7 @@ Proxy server type (none|http|https|ftp). (passed to archive) Default value: ``undef`` -##### `basedir` +##### `basedir` Data type: `Any` @@ -177,7 +198,7 @@ Directory under which the installation will occur. If not set, defaults to Default value: ``undef`` -##### `manage_basedir` +##### `manage_basedir` Data type: `Any` @@ -186,7 +207,7 @@ Note: /usr/lib/jvm is managed for Debian by default, separate from this paramete Default value: ``true`` -##### `package_type` +##### `package_type` Data type: `Any` @@ -196,7 +217,7 @@ Optional forced package types: rpm, rpmbin, tar.gz Default value: ``undef`` -##### `manage_symlink` +##### `manage_symlink` Data type: `Any` @@ -204,7 +225,7 @@ Whether to manage a symlink that points to the installation directory. Defaults Default value: ``false`` -##### `symlink_name` +##### `symlink_name` Data type: `Any` @@ -212,15 +233,31 @@ The name for the optional symlink in the installation directory. Default value: ``undef`` -### `java::download` +### `java::download` Defined Type java::download #### Parameters -The following parameters are available in the `java::download` defined type. +The following parameters are available in the `java::download` defined type: -##### `ensure` +* [`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` Data type: `Any` @@ -228,7 +265,7 @@ Install or remove the package. Default value: `'present'` -##### `version` +##### `version` Data type: `Any` @@ -236,7 +273,7 @@ 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` @@ -244,7 +281,7 @@ Major version which should be installed, e.g. '8u101'. Must be used together wit Default value: ``undef`` -##### `version_minor` +##### `version_minor` Data type: `Any` @@ -252,7 +289,7 @@ Minor version which should be installed, e.g. 'b12'. Must be used together with Default value: ``undef`` -##### `java_se` +##### `java_se` Data type: `Any` @@ -260,7 +297,7 @@ Type of Java Standard Edition to install, jdk or jre. Default value: `'jdk'` -##### `proxy_server` +##### `proxy_server` Data type: `Any` @@ -268,7 +305,7 @@ Specify a proxy server, with port number if needed. ie: https://example.com:8080 Default value: ``undef`` -##### `proxy_type` +##### `proxy_type` Data type: `Any` @@ -276,7 +313,7 @@ Proxy server type (none|http|https|ftp). (passed to archive) Default value: ``undef`` -##### `url` +##### `url` Data type: `Any` @@ -284,7 +321,7 @@ Full URL Default value: ``undef`` -##### `jce` +##### `jce` Data type: `Any` @@ -292,7 +329,7 @@ Install Oracles Java Cryptographic Extensions into the JRE or JDK Default value: ``false`` -##### `jce_url` +##### `jce_url` Data type: `Any` @@ -300,7 +337,7 @@ Full URL to the jce zip file Default value: ``undef`` -##### `basedir` +##### `basedir` Data type: `Any` @@ -309,7 +346,7 @@ Directory under which the installation will occur. If not set, defaults to Default value: ``undef`` -##### `manage_basedir` +##### `manage_basedir` Data type: `Any` @@ -318,7 +355,7 @@ Note: /usr/lib/jvm is managed for Debian by default, separate from this paramete Default value: ``false`` -##### `package_type` +##### `package_type` Data type: `Any` @@ -328,7 +365,7 @@ Optional forced package types: rpm, rpmbin, tar.gz Default value: ``undef`` -##### `manage_symlink` +##### `manage_symlink` Data type: `Any` @@ -336,7 +373,7 @@ Whether to manage a symlink that points to the installation directory. Defaults Default value: ``false`` -##### `symlink_name` +##### `symlink_name` Data type: `Any` @@ -344,15 +381,26 @@ The name for the optional symlink in the installation directory. Default value: ``undef`` -### `java::sap` +### `java::sap` Defined Type java::sap #### Parameters -The following parameters are available in the `java::sap` defined type. +The following parameters are available in the `java::sap` defined type: -##### `ensure` +* [`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` Data type: `Any` @@ -360,7 +408,7 @@ Install or remove the package. Default value: `'present'` -##### `version` +##### `version` Data type: `Any` @@ -368,7 +416,7 @@ 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` @@ -376,7 +424,7 @@ Major version which should be installed, e.g. '8.1.063' or '11.0.7'. If used, "v Default value: ``undef`` -##### `java` +##### `java` Data type: `Any` @@ -384,7 +432,7 @@ Type of Java Edition to install, jdk or jre. Default value: `'jdk'` -##### `proxy_server` +##### `proxy_server` Data type: `Any` @@ -392,7 +440,7 @@ Specify a proxy server, with port number if needed. ie: https://example.com:8080 Default value: ``undef`` -##### `proxy_type` +##### `proxy_type` Data type: `Any` @@ -400,7 +448,7 @@ Proxy server type (none|http|https|ftp). (passed to archive) Default value: ``undef`` -##### `basedir` +##### `basedir` Data type: `Any` @@ -409,7 +457,7 @@ Directory under which the installation will occur. If not set, defaults to Default value: ``undef`` -##### `manage_basedir` +##### `manage_basedir` Data type: `Any` @@ -418,7 +466,7 @@ Note: /usr/lib/jvm is managed for Debian by default, separate from this paramete Default value: ``true`` -##### `manage_symlink` +##### `manage_symlink` Data type: `Any` @@ -426,7 +474,7 @@ Whether to manage a symlink that points to the installation directory. Defaults Default value: ``false`` -##### `symlink_name` +##### `symlink_name` Data type: `Any` diff --git a/metadata.json b/metadata.json index bd3182c..a5206cd 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-java", - "version": "6.5.0", + "version": "7.0.0", "author": "puppetlabs", "summary": "Installs the correct Java package on various platforms.", "license": "Apache-2.0",