Issue #15912 has been updated by Andrew Parker.
As part of this work we've decided to try and clean up the Functions interface. There were two methods on it, which had little to no value: `rmfunction` and `functions`. `rmfunction` seemed to only be used in odd test cases and `functions` tried to provide a list of loaded functions, but was incomplete and didn't actually provide access to the functions themselves and so was misleading. These 2 methods of `Functions` are deprecated now in 2.7 and are going to be removed on the 3.x branch which means they are gone from 3.0. ---------------------------------------- Bug #15912: function rvalue? check does not look at root environment https://projects.puppetlabs.com/issues/15912#change-69359 Author: Patrick Carlisle Status: Accepted Priority: Normal Assignee: Category: Target version: 2.7.x Affected Puppet version: 2.7.18 Keywords: Branch: A function can be stored against the current environment or against the "root" environment, depending on when it is loaded. When checking if a function is an rvalue, puppet does not look for the function in the root environment. I'm not sure if this happens when running puppet as an executable, but it is an issue in tests. -- 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 -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
