HomePhorge

(PUP-3351) Evaluate ENC classes in the correct order
378b656d9de3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3351) Evaluate ENC classes in the correct order

Without this patch classes declared from an ENC are evaluated in the
wrong order. This is a problem because classes declared without
parameters are evaluated prior to classes with parameters which causes
an Error: Duplicate declaration when the classes with parameters are
evaluated. According to the code comments for the
evaluate_node_classes method, the expected behavior is that classes
with an empty set of parameters will not conflict with classes that have
declared parameters.

Details

Provenance
Jeff McCune <jeff@puppetlabs.com>Authored on
Andrew Parker <andy@puppetlabs.com>Committed on Oct 3 2014, 9:58 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU766cce7ff953: Merge branch 'pr/3144' into stable
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPU378b656d9de3: (PUP-3351) Evaluate ENC classes in the correct order (authored by Jeff McCune <jeff@puppetlabs.com>).Oct 3 2014, 9:58 PM