Issue #11423 has been updated by Daniel Pittman. Branch set to https://github.com/puppetlabs/puppet/pull/277
The short term, safe change - a less misleading error message - is in the branch; I think we should actually fix this by tracking the origin and logging where the duplicates came from, but that is more work. Randall, is the small fix worth it? Is that sufficient? ---------------------------------------- Bug #11423: Misleading error message when you import duplicate resources from StoreConfigs https://projects.puppetlabs.com/issues/11423 Author: Daniel Pittman Status: Needs Decision Priority: Normal Assignee: Randall Hansen Category: stored configuration Target version: Affected Puppet version: 2.7.0 Keywords: Branch: https://github.com/puppetlabs/puppet/pull/277 The code in `collect_exported` in `lib/puppet/parser/collector.rb` has some poor logic: if you import two resources with the same type and title from two other machines, it will report that "Exported resource foo cannot override *local* resource". This is because it walks through all the resources it finds and checks if they duplicate something already known about. If not, they get added to the collection. If there is a duplicate, though, it assumes that is local, and issues a message as such. -- 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.
