Hi Axel,
You're description is not totally clear to me, but here's an example how
arrays should work:
$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