The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Feature #21665

Fix undefined array behavior in resource collectors

Added by Vadim Nevorotin almost 3 years ago. Updated almost 3 years ago.

Status:Needs DecisionStart date:
Priority:UrgentDue date:
Assignee:eric sorenson% Done:


Target version:-
Affected Puppet version: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


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).

Related issues

Related to Puppet - Feature #1107: Allow exclusion in tags specified on the command line Accepted


#1 Updated by Vincent Janelle almost 3 years ago

  • Tracker changed from Bug to Feature
  • Assignee set to eric sorenson

Inability to exclude tags is a duplicate of #1107

Adding operators is a feature request, re-assigning to eric sorenson.

#2 Updated by Charlie Sharpsteen almost 3 years ago

  • Status changed from Unreviewed to Needs Decision

Also available in: Atom PDF