Issue #21665 has been updated by Charlie Sharpsteen.

Status changed from Unreviewed to Needs Decision

----------------------------------------
Feature #21665: Fix undefined array behavior in resource collectors
https://projects.puppetlabs.com/issues/21665#change-95052

* Author: Vadim Nevorotin
* Status: Needs Decision
* Priority: Urgent
* Assignee: eric sorenson
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Please, fix resource collectors behavior with arrays (and hashes)!

Now you can't use resource collectors with tags and != so there is no ability 
to select all resources without some tag (it is very usefull when you want to 
apply some tagged resources before all untagged)

Now you can't compare arrays in resource collectors (File <| source != [] |> 
works, but this behavior is not documented)

I think that the should be two different pairs of operators: == != and === !==.

First ones shoud return true if right array is a part of value of the attribute 
(for ==) and if value of the attribute contain all elements from right array 
(for !=).

=== and !== should be true only if arrays are identical (or not).


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to