Issue #6710 has been reported by Jeff McCune.
----------------------------------------
Bug #6710: Relationship syntax should work with title arrays
https://projects.puppetlabs.com/issues/6710
Author: Jeff McCune
Status: Unreviewed
Priority: Normal
Assignee:
Category: parser
Target version:
Affected Puppet version: 2.6.0
Keywords: relationship array title
Branch:
# Impact Data
Reported by JJM working on my own projects, no known paying customers have been
impacted by this issue.
# Overview
The new Puppet 2.6 relationship syntax does not appear to work when titles are
specified as an array.
# Expected Behavior
Using the relationship syntax among declared resources should establish a
relationship from former to the latter when using titles for arrays. When
title arrays are used in both the left and right side of the relationship
declaration, a many-to-many relationship is expected among the resources.
For example:
notify { [ left_one, left_two ]: } -> notify { [ right_one, right_two ]: }
right_one should require both left_one and left_two
right_two should require both left_one and left_two
# Actual Behavior
The title array is condensed into a string value and an unknown resource error
is returned.
# Steps to Reproduce
An acceptance test will be added once a ticket number is available.
--
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.