Since puppet6, undefined global variables emit warnings in the puppetserver logs.
Changing the value to a facts[''] value resolves it while still honouring the ability to pass in provider values via hieradata.
Also addressing the deprecation of the validate_hash function.
Related post regarding this found here: https://access.redhat.com/discussions/5672161#comment-now
Since puppet6, undefined global variables emit warnings in the puppetserver logs. Changing the value to a facts[''] value resolves it while still honouring the ability to pass in provider values via hieradata. Also addressing the deprecation of the validate_hash function. Related post regarding this found here: https://access.redhat.com/discussions/5672161#comment-now