Issue #16472 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to Nick Lewis
Yes it is extremely confusing. Is there a particular remedy or course of action you'd recommend? ---------------------------------------- Bug #16472: Virtual vs. exported resources are confusing https://projects.puppetlabs.com/issues/16472#change-72738 Author: Nick Lewis Status: Needs More Information Priority: Normal Assignee: Nick Lewis Category: Target version: Affected Puppet version: Keywords: Branch: These terms take on several different meanings and states throughout the compilation of a catalog. Before collections are evaluated: Exported resources are in the catalog, virtual and exported Virtual resources are not in the catalog, virtual and not exported When collections are evaluated, collected and realized resources are marked non-virtual (and included in the catalog, in the case of realized virtual resources). Collected exported resources are still marked as exported. Resources collected from *other* nodes are not marked exported or virtual. Then the catalog is "cached" by the indirector, which is effectively the save to storeconfigs. At this point: Exported resources which were collected are in the catalog, not virtual and exported Exported resources which were not collected are in the catalog, virtual and exported Resources collected from other nodes (rather than the catalog) are in the catalog, not virtual and not exported Virtual resources which were realized are in the catalog, not virtual and not exported Virtual resources which were not realized are not in the catalog, virtual and not exported Before going to the agent, the catalog is "filtered" by the indirector (via the terminus). At this point, all virtual resources are removed (including exported resources which weren't collected). This means the catalog "saved" isn't the same as the catalog returned by "find". -- 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.
