Issue #23307 has been reported by Vadim Nevorotin. ---------------------------------------- Refactor #23307: Allow duplicate recources https://projects.puppetlabs.com/issues/23307
* Author: Vadim Nevorotin * Status: Unreviewed * Priority: Urgent * Assignee: * Category: modules * Target version: * Affected Puppet version: 3.3.2 * Keywords: * Branch: ---------------------------------------- Why puppet doesn't allow duplicate resources with same parameters? In fact, there aren't any reasons to do that, you can simply ignore duplicating resource if it is already in catalog. The 'classic' problem with duplication is packages. Now there isn't any built-in ability to correctly use packages in modules. If two modules declare same package, they can't be used together. So it is impossible to write a module, which install packages and should be used with other modules. But why? There is stdlib function ensure_resource. All resources must work as this function by default, there isn't any reason not to do that. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
