Hello Puppeteers, one problem we stumble upon quite often is duplicate definition of resources. For instance we install the package git-core in our base- class every node is in. Now we want to use a module from github, e.g. https://github.com/uggedal/puppet-module-git, but this one also defines the package git-core and we have to find ugly fixes around the resulting error.
As far as I understood puppet, there are two solutions: 1) wrapping each possibly problematic statement into a "if ! defined(Type["bla"])". 2) Defining all those resources virtually and just realize them in the modules. Both solutions don't help when taking this git module from github, because we'd have to change it, it would no longer be an atomic piece of logic one can just take and use unchanged. Is there some kind of best practice for this problem? Or is there some other workaround I don't know of or I didn't understand so far? Thanks for any suggestions! Thomas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.