Issue #21667 has been updated by Pablo Wright.

Status changed from Unreviewed to Duplicate

This seems to be a duplicate of #3845

----------------------------------------
Bug #21667: Fix behavior of collection resources with default atrributes values
https://projects.puppetlabs.com/issues/21667#change-94616

* Author: Vadim Nevorotin
* Status: Duplicate
* Priority: Urgent
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
Resource collector with defined search expression must not collect resources 
with undefined corresponding attribute, as described here: 
http://docs.puppetlabs.com/puppet/2.7/reference/lang_collectors.html#search-expressions

Now

File <| source != undef |>

collect

file {'name':
  type => file,
  content => template(....),
}

It's undocumented behavior and with this behavior you can't collect all 
resources with some attribute defined. (E.g. all files with source) So you 
can't sort resources based on some attribute presence.


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