HomePhorge

(maint) Clear record of configured deprecated settings
f6e1d327f770Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Clear record of configured deprecated settings

We cache a list of deprecated settings that have been configured in the
initial parse_config, so that later initialization steps allow us to
read the :disable_warnings value, and then decide whether or not to
actually issue a particular warning.

But we weren't clearing this cache in the unsafe_clear call, which was
allowing this state to leak across specs. Once we added that cache
clear to unsafe_clear, we then had to reorder parse_config steps for
unsafe_clear, followed by record_deprecations_from_puppet_conf(data).

Details

Provenance
Josh Partlow <joshua.partlow@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU9fa72d025a2e: (PUP-3069) Add an integration spec for default_manifest
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Partlow <joshua.partlow@puppetlabs.com> committed rPUf6e1d327f770: (maint) Clear record of configured deprecated settings (authored by Josh Partlow <joshua.partlow@puppetlabs.com>).Aug 29 2014, 10:53 PM