summaryrefslogtreecommitdiffstats
path: root/spec/unit/util/autoload.rb
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-07-25 15:34:56 -0700
committerNick Lewis <nick@puppetlabs.com>2011-07-25 16:47:14 -0700
commitfb2ffd6879f4c885fe29f70e3cf9bcde89cdc8e9 (patch)
tree29787d6e0161e876f1b2c194f5231171891d9f89 /spec/unit/util/autoload.rb
parentc7361629dff08d506209f806f0d903a0e968da06 (diff)
downloadpuppet-fb2ffd6879f4c885fe29f70e3cf9bcde89cdc8e9.tar.gz
puppet-fb2ffd6879f4c885fe29f70e3cf9bcde89cdc8e9.tar.xz
puppet-fb2ffd6879f4c885fe29f70e3cf9bcde89cdc8e9.zip
(#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>
Diffstat (limited to 'spec/unit/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions