On Apr 1, 9:17 am, Arnau Bria <arnaub...@pic.es> wrote: > Apart from that, didn't know about > file { [ "/usr/local/nagios", "/usr/local/nagios/libexec" ]: > > which automagically creates file dependency. so I declared it in two > diff files.
Clarification: that syntax introduces one property list that applies to all the files named in the array. It is not special with respect to file dependencies, however. Puppet will automagically create dependencies between declared files wherever one is the parent directory of the other, regardless of where each is declared or the syntax of the declarations. John -- 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.