> 2. Add a warning to 2.7 that lets people know if when their manifests are > relying on dynamic scoping (and hence will break once we switch to lexical > scoping). This will give users a chance to transition their manifests > gradually over to using parameterized classes where they used to use lexical > scoping. It also gives us all time to figure out whether there are any > other things we were using dynamic scoping for that can't be easily > accomplished using parameterized classes. >
We'll need to exercise caution in where / when we generate these warnings; if they are to have enough information to be useful when you're trying to transition the manifests they will be a pain in the logs when you aren't. (This is a general problem we have with deprecation-warnings). On the other hand if we only generate them when you run --lint or something, no one will... -- M ----------------------------------------------------------- The power of accurate observation is commonly called cynicism by those who have not got it. ~George Bernard Shaw ------------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
