thanks for the reply, I actually made an error in my declaration. I used two variables which I had just moved out of scope, and so I declared two empty File[] objects - and puppet complained.
When your solution didn't work either it hit me :) . thanks & greetings! Axel. Am Dienstag, 31. Juli 2012 16:10:23 UTC+2 schrieb David Schmitt: > > Hi Axel, > > > $filesA = ["/tmp/A1", "/tmp/A2", "/tmp/A3" ] > $filesB = ["/tmp/B1", "/tmp/B2", "/tmp/B3" ] > > file { > $filesA: > ensure => present, > mode => 0644, owner => root; > $filesB: > ensure => present, > mode => 0755, owner => "www-data"; > } > > If you're looking for something different you might want to look into > setting recurse=>true. Read the Type Reference for more info. > > Best Regards, David > -- 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/-/hgdnKnvvHGcJ. 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.