Issue #1202 has been updated by masterzen.

Affected version set to 0.24.4

spheromak wrote:
> when using a collection to realize a resource. In this case a user. The 
> collection isn't comparing each array element to the match condition:
> 
> [...]
> 
> this user wont be realized.

Patch available in branch tickets/0.24.x/1202 on my masterzen/puppet github 
repository:
http://github.com/masterzen/puppet/commits/tickets/0.24.x/1202
----------------------------------------
Bug #1202: Collection attribute matching doesn't parse arrays
http://projects.reductivelabs.com/issues/show/1202

Author: spheromak
Status: Accepted
Priority: Normal
Assigned to: luke
Category: language
Target version: unplanned
Complexity: Medium
Patch: None
Affected version: 0.24.4
Keywords: 


when using a collection to realize a resource. In this case a user. The 
collection isn't comparing each array element to the match condition:

<pre>
   User <| groups == leads |>
        
   @user { "foo":
        ensure => "present",
        groups => [[bar" "baz" "leads]],
   }
</pre>

this user wont be realized.



----------------------------------------
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://reductivelabs.com/redmine/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