This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String
Closed this issue · 1 comments
ngeorgieff commented
[root@puppet-dev ~]# puppet apply -t /etc/puppetlabs/code/environments/production/modules/adcli/examples/test.pp
Info: Loading facts
Info: Loading facts
**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/puppetlabs/code/environments/production/modules/adcli/manifests/init.pp", 51]:
(at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
(in /etc/puppetlabs/puppet/hiera.yaml)