Issue #18269 has been updated by Charlie Sharpsteen. Category set to compiler Status changed from Needs More Information to Duplicate Assignee changed from Yuri Arabadji to Charlie Sharpsteen
Unfortunately, the compiler propagates the `con::tainer` tag and other automatic tags after it evaluates collectors. Marking as a duplicate of #3845. ---------------------------------------- Bug #18269: search expressions in collectors don't collect | virt resources not tagged? https://projects.puppetlabs.com/issues/18269#change-90953 * Author: Yuri Arabadji * Status: Duplicate * Priority: Normal * Assignee: Charlie Sharpsteen * Category: compiler * 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.
