That's the fun part: the $distribution parameter that the define recieves is different the second time, so it would create the files in a different location. Normally we could solve this by making the $name unique, but since that is what is used to make the array magic happen, I cannot go and make that $name unique, can I?
Walter On Thu, Jan 5, 2012 at 14:32, Felix Frank <felix.fr...@alumni.tu-berlin.de> wrote: > Hi, > > On 01/05/2012 01:51 PM, Walter Heck wrote: >> until I needed to loop through a second instance of an array in >> another call to that define that just so happens to have the same data >> in it. Now I get the following error: > > this is a cute problem description indeed ;-) > > What problem are you trying to solve? > What should puppet do when you feed it the same input twice? > > It strikes me as quite desirable that puppet will *not* allow you to try > and create the same range of files from different places in your manifest. > > Cheers, > Felix > > -- > 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. > -- Walter Heck -- follow @walterheck on twitter to see what I'm up to! -- Check out my new startup: Server Monitoring as a Service @ http://tribily.com Follow @tribily on Twitter and/or 'Like' our Facebook page at http://www.facebook.com/tribily -- 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.