I was using this: Puppet::Parser::Functions.autoloader.load(:functionname) unless Puppet::Parser::Functions.autoloader.loaded?(:functionname) from this URL: http://vstone.eu/why-not-to-use-puppetparserfunctions-autoloader-loadall/.
But it seems ‘Puppet::Parser::Functions.autoloader.loaded’ is no longer available in puppet 3.0. Any alternative in puppet 3.0?
You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account
Patrick,
Can you take a look at this and see if anything jumps out? I figured with the recent autoloader work you’ve done you might have some quick answers.
I think this was an oversight. Originally I meant there to be a require-like method that would encapsulate all of that logic but it didn’t get finished.
https://github.com/puppetlabs/puppet/pull/840
I’m targeting this at 3.0 because fixing it revealed that some of the methods didn’t work correctly (inconsistencies between having the .rb extension and not).
Released in Puppet 3.0.0-rc4