Closed sathieu closed 6 years ago
Can't we fix this on apt::dater by avoiding to use params_lookup there? params_lookup was always supposed to be used only on the main class, and not an any class. Mostly, the problem is that code was removed because it fails on puppet5 and hadn't found a sane way to fix it at the times
I can change apt::dater
but this will break setups using for example $apt_dater_package = 'myownpkg'
.
This PR works on Puppet 5 (and Puppet 4).
Thank you, tested on puppet 3, it doesn't seem to work on apt::dater but it doesn't break params_lookup, which was the most important thing.
Thanks. On Puppet3, I thought that lib/puppet/parser/functions/params_lookup.rb was used ...
@sathieu oh, right of course
Needed for apt::dater.