Closed suchAdemon closed 1 year ago
It's not a builtin function, it is part of stdlib and we started to namespace functions to avoid name collisions, see:
https://github.com/puppetlabs/puppetlabs-stdlib/commit/04d1f0c5cccb93d0bc928c7623c4b0c0ebda5b6b
Also, Puppet 8 by default fail on warning. This can be tuned to not raise an error.
A long-term fix is to add support for the latest release of stdlib and for Puppet 8 to this module (which currently says it does not support them).
Hello, yea true merge is not the build in function, was still thinking about the code snippet I posted, if it could break something. I guess then there will be no interim commit to sort it out, so that the main branch could continue updates and being used on the latest main commit/or similar? If not, then I will keep my local changes till the long-term fix got merged.
Btw, cool thing that you started to namespace functions.
Fixed in #231.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Just perform a run with puppet 8
What are you seeing
Possible solution