Revert "Replace Stdlib::Absolutepath by Stdlib::Compat::Absolute_path"
This reverts commit0861e31cf9
. 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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user