Hello readers, I am wondering - I intend to create a few directory trees with the file{ [array] } pattern, but unfortunately Puppet complains. It says "File[] is already declared in file ..." - which kind of looks like as if Puppet takes a file object with an array as parameter as a single, unnamed File object. I would assume this would be equivalent to
File{ array[0] : ... } File{ array[1] : ... } File{ array[2] : ... } ... etc. Unfortunately the directories should have different owners and permissions, so I cannot merge those into a single file{} statement. Any advice how I can achieve what I want without breaking this up into - right now - six different file{} delarations? Thanks in advance & greetings, Axel. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Sowc-6bIiOgJ. 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.