From fa5100c093bde9f0a7d50bd6572e76c58d9b1601 Mon Sep 17 00:00:00 2001 From: Benedikt Trefzer Date: Sun, 20 Aug 2023 21:22:13 +0200 Subject: [PATCH] allow absolute path for package_url parameter For servers without direct internet access it's usefull to use an absolute file path instead of a download url. --- REFERENCE.md | 2 +- manifests/init.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 9659d8c7..81f9dc03 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -189,7 +189,7 @@ Default value: `'22.0.0'` ##### `package_url` -Data type: `Optional[Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl]]` +Data type: `Optional[Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl, Stdlib::Absolutepath]]` URL of the Keycloak download. Default is based on version. diff --git a/manifests/init.pp b/manifests/init.pp index 9ddff006..ed96f9ea 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -223,7 +223,7 @@ class keycloak ( Boolean $manage_install = true, String $version = '22.0.0', - Optional[Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl]] $package_url= undef, + Optional[Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl, Stdlib::Absolutepath]] $package_url= undef, Optional[Stdlib::Absolutepath] $install_dir = undef, Array[String[1]] $java_package_dependencies = [], Enum['include','class'] $java_declare_method = 'class',