Martin Autorequire is what you need...
Take a look at my glassfish module [1] for an example that should do what you're after... Cheers Gav [1] https://github.com/fatmcgav/fatmcgav-glassfish/blob/develop/lib/puppet/type/jdbcresource.rb#L100-103 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/abdfee37-5734-4943-b390-81cee6471b7f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.