hello,

----- "Douglas Garstang" <doug.garst...@gmail.com> wrote:

> Ohad,
> 
> No, not really because for starters there are anywhere from 1 to 10
> instances of jboss running, but not always 10. It depends on the
> node.
> If it was always 10, I could say something like
> before=>Service["jboss-inst0"], before=>Service["jboss-inst1"] etc.
> 
> PLUS the jboss service is controlled inside a definition, not a
> class.
> I don't know if I can use before => in that case.

maybe I am just not understanding you, but if you define a jboss instance with 
a define, let say jbossinst{"one": .. } and you want to do something *before* 
that, then just do:

before => Jbossinst["one"]

Isnt that what u are after?  Really you need to show us code, you can write 5 
pages of english blurp or show 5 lines of code.

--

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.


Reply via email to