On Wed, 2010-03-10 at 15:45 -0800, briwood wrote: > An array is passed to aegir::platform_directory causing it to invoke > the define aegir::platform_directory multiple times. In the define I > set namevar of the exec to "unpack-drupal-${name}" in order to to > avoid the error "Duplicate definition: Exec[unpack-drupal]".
I don't consider this as bad practice. I'm often using this pattern. The only caveat is if you need to before/require/notify/subscribe such resources. -- Brice Figureau Follow the latest Puppet Community evolutions on www.planetpuppet.org! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.