HomePhorge

(maint) Detect reparse when :code changes
637dd61d66acUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Detect reparse when :code changes

Previously the detection for reparse didn't take into account the
parsing having been done from the Puppet[:code] setting. This meant that
if a test tried to compile several different manifests for the same node
it would only ever compile from the first value of Puppet[:code] and
subsequently reuse that for all other calls (even if Puppet[:code]
changed).

This adds a check for changes to Puppet[:code] to cause it to
re-calculate known_resource_types.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUfa522acf47f1: (maint) Allow arrays, bools, and numerics to be frozen
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPU637dd61d66ac: (maint) Detect reparse when :code changes (authored by Andrew Parker <andy@puppetlabs.com>).Feb 28 2014, 11:11 PM