Issue #18269 has been updated by Yuri Arabadji.
When collected in the same place with `Testdef <| tag == 'a' |>` , I'm getting:
Scope(Testdef[a]): tags: testdef, a, con::tainer, con, tainer, xx, class,
someclass, test_resdef_loop, node, xx
/Stage[main]/Someclass/Con::Tainer[XX]/Testdef[a]/Notify[Name: a]/message:
defined 'message' as 'Name: a'
----------------------------------------
Bug #18269: search expressions in collectors don't collect | virt resources not
tagged?
https://projects.puppetlabs.com/issues/18269#change-79427
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.