The validate function throws deprecation warnings since stdlib 4.13.0
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README.
(at /etc/puppet/code/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Array. There is further documentation for validate_legacy function in the README.
(at /etc/puppet/code/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README.
(at /etc/puppet/code/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README.
(at /etc/puppet/code/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Absolute_Path. There is further documentation for validate_legacy function in the README.
(at /etc/puppet/code/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')
Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README.
(at /etc/puppet/code/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')
Warning: This method is deprecated, please use match expressions with Stdlib::Compat::String instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions.
(at /etc/puppet/code/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')
The
validate
function throws deprecation warnings since stdlib 4.13.0