Issue #15264 has been reported by Adrien Thebo.
----------------------------------------
Bug #15264: Custom title patterns can fail cryptically
https://projects.puppetlabs.com/issues/15264
Author: Adrien Thebo
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version: 2.7.18
Affected Puppet version: 2.7.17
Keywords: composite namevar custom title_patterns parse_title
Branch:
If a type uses a composite namevar and none of the supplied title patterns
matched, #parse_title will unintentionally return the output of
#title_patterns. This would lead to unexpected behavior like output like:
/usr/lib/ruby/1.8/puppet/puppet/resource.rb:235:in `to_hash': undefined
method `merge' for #<Array:0x007ffba3d80d78> (NoMethodError)
Handling this case and failing deliberately would seem to be a better response.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.