Issue #11049 has been updated by Charlie Sharpsteen. Category changed from exported resources to compiler Status changed from Accepted to Duplicate Assignee set to Charlie Sharpsteen
Currently the compiler evaluates collectors before propagating automatic tags such as class names. Marking as a duplicate of #3845. ---------------------------------------- Bug #11049: Collecting resources from the exporting node doesn't work https://projects.puppetlabs.com/issues/11049#change-90957 * Author: Martijn Grendelman * Status: Duplicate * Priority: Normal * Assignee: Charlie Sharpsteen * Category: compiler * Target version: * Affected Puppet version: 2.7.6 * Keywords: * Branch: ---------------------------------------- A more elaborate description of the problem can be found here in the mailing list archives: <http://groups.google.com/group/puppet-users/browse_thread/thread/7bb590b5ecaf2095?hl=en_US#> I have the following manifest: class xtreemfs::dir_mrc { # Export a firewall rule, requesting access to DIR/MRC replication ports @@firewall::rule {"xtreemfs-repl-${hostname}": rule => [ "-A firewall-user-app -p tcp -s $primary_ipaddress --dport 35678 -j ACCEPT", "-A firewall-user-app -p tcp -s $primary_ipaddress --dport 35676 -j ACCEPT", ], } # Collect all firewall rules from DIR/MRC servers Firewall::Rule <<| tag == 'xtreemfs::dir_mrc' |>> } This class is included on three servers, let's call them serverA, serverB and serverC. On serverA, I do get Firewall::Rule[xtreemfs-repl-serverB] and Firewall::Rule[xtreemfs-repl-serverC], but not Firewall::Rule[xtreemfs-repl-serverA]. On servers B and C, the behaviour matches. So exporting works (confirmed by looking at the database). So does collecting, only not from the local node. -- 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.
