As for the 'SHOULD I do this?' question, I think it's a perfectly acceptable pattern as long as you understand that if File['bar'] fails, File['baz'] will NOT be evaluated/created. If that's what you want, then that's okay. If that's NOT what you want, then you need to change the dependency.
On Mon, Dec 3, 2012 at 11:54 AM, Mark <static.void....@gmail.com> wrote: > Should you require all explicit dependencies when working with resources > or can you "cheat" like the following: https://gist.github.com/4197521 > > Basically, should the File['bas'] resource explicitly require File['foo'] > and File['baz']? > > -- > 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. > -- Gary Larizza Professional Services Engineer Puppet Labs -- 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.