From 0bcaa59e7395bd1a9afe889e01387153e8e0cfcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phanie=20Jaumotte?= Date: Wed, 31 Jul 2024 08:22:24 +0200 Subject: [PATCH] reference --- REFERENCE.md | 17 +++++++++++++---- types/multipath.pp | 1 + types/status.pp | 1 + 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 3ec71e538..03cfddab6 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -57,8 +57,8 @@ ### Data types -* [`Elasticsearch::Multipath`](#Elasticsearch--Multipath) -* [`Elasticsearch::Status`](#Elasticsearch--Status) +* [`Elasticsearch::Multipath`](#Elasticsearch--Multipath): Elasticsearch datadir multipath type +* [`Elasticsearch::Status`](#Elasticsearch--Status): Elasticsearch service status type ## Classes @@ -144,6 +144,7 @@ The following parameters are available in the `elasticsearch` class: * [`oss`](#-elasticsearch--oss) * [`package_dir`](#-elasticsearch--package_dir) * [`package_dl_timeout`](#-elasticsearch--package_dl_timeout) +* [`package_hold`](#-elasticsearch--package_hold) * [`package_name`](#-elasticsearch--package_name) * [`package_provider`](#-elasticsearch--package_provider) * [`package_url`](#-elasticsearch--package_url) @@ -508,6 +509,14 @@ Data type: `Integer` For http, https, and ftp downloads, you may set how long the exec resource may take. +##### `package_hold` + +Data type: `Boolean` + +Set to hold to tell Debian apt/Solaris pkg to hold the package version. + +Default value: `false` + ##### `package_name` Data type: `String` @@ -3237,13 +3246,13 @@ Returns: `Any` String ### `Elasticsearch::Multipath` -The Elasticsearch::Multipath data type. +Elasticsearch datadir multipath type Alias of `Variant[Array[Stdlib::Absolutepath], Stdlib::Absolutepath]` ### `Elasticsearch::Status` -The Elasticsearch::Status data type. +Elasticsearch service status type Alias of `Enum['enabled', 'disabled', 'running', 'unmanaged']` diff --git a/types/multipath.pp b/types/multipath.pp index 63dea224d..83f966ff4 100644 --- a/types/multipath.pp +++ b/types/multipath.pp @@ -1 +1,2 @@ +# Elasticsearch datadir multipath type type Elasticsearch::Multipath = Variant[Array[Stdlib::Absolutepath], Stdlib::Absolutepath] diff --git a/types/status.pp b/types/status.pp index e31498bdb..6c13d755e 100644 --- a/types/status.pp +++ b/types/status.pp @@ -1 +1,2 @@ +# Elasticsearch service status type type Elasticsearch::Status = Enum['enabled', 'disabled', 'running', 'unmanaged']