Revert "Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path"

This reverts commit 0861e31cf9.

Reason for revert:
Stdlib::Absolutepath has never been deprecated, but
Stdlib::Compat::Absolute_path was deprecated. The latest stdlib
removed all Stdlib::Compat::* types[1].

[1] fcbd4267fd

Change-Id: I560dbe312a5833f1d6705768bfbf79c06a9ce734
This commit is contained in:
Takashi Kajinami 2023-05-31 03:39:34 +00:00
parent 0861e31cf9
commit b6478cb103
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ define openstacklib::policy (
$purge_config = false,
) {
validate_legacy(Hash, 'validate_hash', $policies)
validate_legacy(Stdlib::Compat::Absolute_path, 'validate_absolute_path', $policy_path)
validate_legacy(Stdlib::Absolutepath, 'validate_absolute_path', $policy_path)
validate_legacy(Boolean, 'validate_bool', $purge_config)
if empty($policies) {