From cad09a6b17369d0507de624f729d1eb36dc45b67 Mon Sep 17 00:00:00 2001 From: Joel Capitao Date: Fri, 5 May 2023 10:07:54 +0200 Subject: [PATCH] Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path The Stdlib::Absolutepath which was deprecated 4 years ago is now removed since [1]. We replace it by the Stdlib::Compat::Absolute_path [2] data type which contains the same functions "is_absolute_path" and "validate_absolute_path". [1] https://github.com/puppetlabs/puppetlabs-stdlib/pull/1324 [2] https://github.com/puppetlabs/puppetlabs-stdlib/blob/main/REFERENCE.md#Stdlib--Compat--Absolute_path Change-Id: I8ad2395f14058fecbb7868f081fa2dfdf5f199cc --- manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index d2fc4ffc4..719a508db 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -707,7 +707,7 @@ class keystone( } if $using_domain_config { - validate_legacy(Stdlib::Absolutepath, 'validate_absolute_path', $domain_config_directory) + validate_legacy(Stdlib::Compat::Absolute_path, 'validate_absolute_path', $domain_config_directory) # Better than ensure resource. We don't want to conflict with any # user definition even if they don't match exactly our parameters.