HomePhorge

(#5437) Invalidate cached TypeCollection when there was an error parsing
1b66c28fb2acUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#5437) Invalidate cached TypeCollection when there was an error parsing

The caching of the TypeCollection in Puppet::Node::Environment would cause
parse errors to occur (and be reported) only once and never again, until
the file had changed on disk. This would also cause empty catalogs to be
sent down to the agents further hiding the problem.

Now, when a file fails to parse, it will be re-parsed every time on every
following compilation, causing the parse error to be reported every time,
and preventing sending down empty catalogs to agents.

Paired-with: Nick Lewis <nick@puppetlabs.com>

Details

Provenance
Jacob Helwig <jacob@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUd7a1424fa9b4: Merge branch 'ticket/2.6.next/5670' into 2.6.next
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPU1b66c28fb2ac: (#5437) Invalidate cached TypeCollection when there was an error parsing (authored by Jacob Helwig <jacob@puppetlabs.com>).Apr 1 2011, 8:15 PM