puppetlabs/puppet — pull request #604 by hunner (2012-03-27 22:20:35+00:00)
Title: Bug/2.7.x/incorrect dynamic scope warnings

Until the scope inheritance is completely fixed for the new non-dynamic scoping model, we should give appropriate dynamic scoping deprecation warnings.

This branch will perform two queries; one with the dynamic scoping and a second one that directly references the local scope, inherited scopes, or top/node scope. If the answers differ then removing dynamic scoping would affect the puppet run and a warning should be given.

http://projects.puppetlabs.com/issues/13312