Issue #18269 has been reported by Yuri Arabadji.

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

Author: Yuri Arabadji
Status: Unreviewed
Priority: Normal
Assignee: 
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 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