From bb096b490370875c11f5b8cea2b79efd7a4a4f95 Mon Sep 17 00:00:00 2001 From: Pierre Baret Date: Wed, 14 Aug 2024 21:01:18 +0200 Subject: [PATCH] Handle nexus version > 3.71.0 --- REFERENCE.md | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/REFERENCE.md b/REFERENCE.md index 864d439..448388b 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -14,6 +14,7 @@ * [`nexus::config::default_repositories`](#nexus--config--default_repositories): Removes the default repositories for maven and nuget * [`nexus::config::device`](#nexus--config--device): Create puppet device config used to connect to the rest api * [`nexus::config::email`](#nexus--config--email): Manage the nexus repository manager email settings +* [`nexus::config::postgresql_datastore`](#nexus--config--postgresql_datastore): Manage the nexus postgresql datastore settings * [`nexus::config::properties`](#nexus--config--properties): A short summary of the purpose of this class * [`nexus::plugin::composer`](#nexus--plugin--composer): Install the composer repository format plugin @@ -84,6 +85,7 @@ The following parameters are available in the `nexus` class: * [`manage_config`](#-nexus--manage_config) * [`manage_user`](#-nexus--manage_user) * [`manage_work_dir`](#-nexus--manage_work_dir) +* [`manage_datastore`](#-nexus--manage_datastore) * [`purge_installations`](#-nexus--purge_installations) * [`purge_default_repositories`](#-nexus--purge_default_repositories) * [`package_type`](#-nexus--package_type) @@ -92,6 +94,9 @@ The following parameters are available in the `nexus` class: * [`version`](#-nexus--version) * [`java_runtime`](#-nexus--java_runtime) * [`package_name`](#-nexus--package_name) +* [`postgresql_username`](#-nexus--postgresql_username) +* [`postgresql_password`](#-nexus--postgresql_password) +* [`postgresql_jdbcurl`](#-nexus--postgresql_jdbcurl) ##### `download_folder` @@ -165,6 +170,12 @@ Data type: `Boolean` Set if this module should manage the work directory of the nexus repository manager. +##### `manage_datastore` + +Data type: `Boolean` + +Set if this module should manage datastore - ATM only postgresql is supported + ##### `purge_installations` Data type: `Boolean` @@ -222,6 +233,31 @@ The name of the package to install. Default 'nexus' Default value: `undef` +##### `postgresql_username` + +Data type: `Optional[String[1]]` + +Postgresql Username - Only available in Sonatype Nexus Repository Pro + +Default value: `undef` + +##### `postgresql_password` + +Data type: `Optional[String[1]]` + +Postgresql Password - Only available in Sonatype Nexus Repository Pro + +Default value: `undef` + +##### `postgresql_jdbcurl` + +Data type: `Optional[String[1]]` + +Postgresql jdbcUrl. Formatted as jdbc\:postgresql\://\:/nexus +Only available in Sonatype Nexus Repository Pro + +Default value: `undef` + ### `nexus::config::admin` Manage the nexus repository manager administrator account @@ -478,6 +514,10 @@ Use certificates stored in the Nexus truststore to connect to external systems. Default value: `false` +### `nexus::config::postgresql_datastore` + +Only available in Sonatype Nexus Repository Pro + ### `nexus::config::properties` A description of what this class does