Issue #6710 has been updated by Nick Lewis.

Status changed from Accepted to In Topic Branch Pending Review

A fix for this is available as [pull request 
271](https://github.com/puppetlabs/puppet/pull/271). Also added support for 
variables, strings, case statements, and selectors.
----------------------------------------
Bug #6710: Relationship syntax should work with title arrays
https://projects.puppetlabs.com/issues/6710

Author: Jeff McCune
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Nick Lewis
Category: parser
Target version: 2.7.x
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.

Reply via email to