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
This commit is contained in:
@@ -707,7 +707,7 @@ class keystone(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if $using_domain_config {
|
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
|
# Better than ensure resource. We don't want to conflict with any
|
||||||
# user definition even if they don't match exactly our parameters.
|
# user definition even if they don't match exactly our parameters.
|
||||||
|
Reference in New Issue
Block a user