puppetlabs/puppet — pull request #682 by zaphod42 (2012-04-18 23:26:46+00:00)
Title: Bug/master/enc variables not overridden by node

After the merge of the 2.7.x code that included the new lookup code, the fix to that caused ENC variable lookups to start behaving incorrectly. The problem was the the classes included by the ENC were no longer being interpreted in the correct scope. This fix ensures that the ENC classes are interpreted in either the scope of the best matching node or in the topscope.