Issue #18269 has been updated by eric sorenson.

Status changed from Unreviewed to Needs More Information
Assignee set to Yuri Arabadji

Yuri, this example is extremely hard to follow. Can you please reduce it to the 
most minimal test case?

Why do you have a nested define? Is that the only way to make the problem 
appear?

I’ve put this ticket’s status into “Needs more Information” and assigned it to 
you. Please either (a) update it with the information I’ve requested and 
re-assign it to me if you need more help, or (b) change the status to “Closed” 
if you were able to resolve the issue on your own.


----------------------------------------
Bug #18269: search expressions in collectors don't collect | virt resources not 
tagged?
https://projects.puppetlabs.com/issues/18269#change-89062

* Author: Yuri Arabadji
* Status: Needs More Information
* Priority: Normal
* Assignee: Yuri Arabadji
* Category: 
* Target version: 
* Affected Puppet version: 3.0.1
* Keywords: 
* Branch: 
----------------------------------------
Here's a testcase, where a collector should've collected the resources. It 
didn't.

<pre>

class test_resdef_loop {
  @testdef {'c': }
  @testdef {'d': }
  
  include someclass
  
  Testdef <| tag == 'con::tainer' |>
}

class someclass {
  con::tainer { 'XX': }
}

define con::tainer {
  @testdef {'a': }
  @testdef {'b': }
}

define testdef() {
  notice(inline_template("tags: <%= tags.join(', ') %>"))
  notify {"Name: ${name}": }
}
</pre>

Please, fix. Thanks.


-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to