Skip to content

Commit cad09a6

Browse files
committed
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] puppetlabs/puppetlabs-stdlib#1324 [2] https://github.com/puppetlabs/puppetlabs-stdlib/blob/main/REFERENCE.md#Stdlib--Compat--Absolute_path Change-Id: I8ad2395f14058fecbb7868f081fa2dfdf5f199cc
1 parent 7f22f87 commit cad09a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@
707707
}
708708

709709
if $using_domain_config {
710-
validate_legacy(Stdlib::Absolutepath, 'validate_absolute_path', $domain_config_directory)
710+
validate_legacy(Stdlib::Compat::Absolute_path, 'validate_absolute_path', $domain_config_directory)
711711

712712
# Better than ensure resource. We don't want to conflict with any
713713
# user definition even if they don't match exactly our parameters.

0 commit comments

Comments
 (0)