| Looks to work correctly now. Without the setting, the server log prints:
2019-10-01T20:43:14.323Z WARN [qtp1893470395-81] [puppetserver] Puppet This method is deprecated, please use the stdlib validate_legacy function, |
with Stdlib::Compat::Integer. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/manifests/site.pp", 1]:
|
If I add the setting to the master section, and reload puppetserver then no more warning
[root@deuaydeq4o5qqbi ~]# puppet config set disable_warnings deprecations --section master |
[root@deuaydeq4o5qqbi ~]# puppetserver reload |
[root@deuaydeq4o5qqbi ~]# puppet agent -t
|
Then server log doesn't show deprecation warning:
2019-10-01T20:44:56.072Z INFO [qtp1658177334-125] [puppetserver] Scope(Class[main]) |
2019-10-01T20:44:56.078Z INFO [qtp1658177334-125] [puppetserver] Puppet Compiled catalog for deuaydeq4o5qqbi.delivery.puppetlabs.net in environment production in 0.21 seconds
|
I'm guessing this was fixed in PUP-7611 and commit 7ed67a7726cfb96c1c2673a1b6825e737b605053 |