HomePhorge

(#8596) Detect resource alias conflicts when titles do not match
fb2ffd6879f4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8596) Detect resource alias conflicts when titles do not match

The introduction of composite namevars caused the resource title used in
resource aliases to be set as an array, even when the resource only had one
namevar. This would fail to conflict with non-alias entries in the resource
table, which used a string for the title, even though the single element array
contained the same string.

Now, we flatten the key used in the resource table, so that single element
arrays are represented as strings, and will properly conflict with resource
titles.

Paired-With: Jacob Helwig <jacob@puppetlabs.com>

Details

Provenance
Nick Lewis <nick@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUc7361629dff0: Merge branch 'ticket/2.6.x/8418-inspect_respect_run_mode' into 2.6.x
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPUfb2ffd6879f4: (#8596) Detect resource alias conflicts when titles do not match (authored by Nick Lewis <nick@puppetlabs.com>).Jul 26 2011, 1:47 AM