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: I0fa697cf5e46b7214dca7940d19be81203eed70d
This commit is contained in:
@@ -779,7 +779,7 @@ class horizon(
|
||||
|
||||
validate_legacy(Hash, 'validate_hash', $api_versions)
|
||||
validate_legacy(Enum['on', 'off'], 'validate_re', $password_autocomplete, [['^on$', '^off$']])
|
||||
validate_legacy(Stdlib::Absolutepath, 'validate_absolute_path', $root_path)
|
||||
validate_legacy(Stdlib::Compat::Absolute_path, 'validate_absolute_path', $root_path)
|
||||
|
||||
if $manage_memcache_package {
|
||||
if $cache_backend =~ /\.MemcachedCache$/ {
|
||||
|
||||
Reference in New Issue
Block a user