Puppet::Util::SElinux uses the deprecated matchpathcon(3) exposed by the C bindings for SELinux.
This should be changed to instead open a handle with selabel_open, doing the lookup with selabel_lookup then closing the handle with selabel_close.
This has been available since mid 2015 when it was introduced in [1] just need to verify it's included in all new major versions of supported operating systems.