Thanks Bernd! Make sense. Cheers!!
On Apr 12, 3:19 pm, Bernd Adamowicz <bernd.adamow...@esailors.de> wrote: > No problem. You're wellcome! And you're not silly. It's just a common > pitfall. If you define a resource within a function, this resource will be > re-defined with every function call. And since resources have to be unique, > the second call to the function will lead to a duplicate definition. > > So that's expected behavior. The only thing that could be improved is the > error message which does not lead to the real problem. Maybe the Puppet guys > could work on this in the future ;-) > > Cheers Bernd -- 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.