HomePhorge

(#8174) Allow defines to reference topscope
c6e006edc54bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8174) Allow defines to reference topscope

Because the compiler re-assigned the topscope, looking up topscope vars
or facts from a defined resource type was causing deprecation warnings
when it should not be. By cherry-picking commits
b02aa930a03a282588e81f65e14f47a138a4b9f0 and
c995be16bc9e3ad8dbad9d21b49df76de5b72ea9 the topscope is no longer
re-assigned and so defined resource types can now lookup these kinds of
variables without problem.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUe27adf451b1a: Evaluate node classes either in top or node scope
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPUc6e006edc54b: (#8174) Allow defines to reference topscope (authored by Andrew Parker <andy@puppetlabs.com>).May 16 2012, 10:05 PM