From 1e52cf336ed526f6a28f1a48cf827819dea1c1c0 Mon Sep 17 00:00:00 2001 From: Joris29 Date: Tue, 5 Dec 2023 12:52:11 +0100 Subject: [PATCH 1/2] Fix key storage config removePathPrefix should be an optional parameter --- types/key_storage_config.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/types/key_storage_config.pp b/types/key_storage_config.pp index 25a146a45..cdebf34cc 100644 --- a/types/key_storage_config.pp +++ b/types/key_storage_config.pp @@ -1,8 +1,9 @@ # Rundeck key storage config type. type Rundeck::Key_storage_config = Array[ Struct[{ - 'type' => String, - 'path' => String, - Optional['config'] => Hash, + 'type' => String, + 'path' => String, + Optional['removePathPrefix'] => Boolean, + Optional['config'] => Hash, }] ] From 0cd3a0dbda38e4be54baec18ca783d8dd1ed6ab4 Mon Sep 17 00:00:00 2001 From: Joris29 Date: Tue, 5 Dec 2023 12:57:00 +0100 Subject: [PATCH 2/2] Update key_storage_config type reference --- REFERENCE.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index fe0dcb06b..e162c6e75 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -815,9 +815,10 @@ Alias of ```puppet Array[Struct[{ - 'type' => String, - 'path' => String, - Optional['config'] => Hash, + 'type' => String, + 'path' => String, + Optional['removePathPrefix'] => Boolean, + Optional['config'] => Hash, }]] ```