Alex, sounds good.
Sam, I agree that in general it would also be useful to have a sensor
that polls just once (or polls repeatedly until successful, such as the
first non-zero exit code).
Another thing that would be useful (in variants of this situation) is a
`$brooklyn:component("leader").e
I think what you really want is to define a preInstall step which does
the following:
- run the bash and output the key
- publish a sensor from the output of the bash
(Instead of the polling sensor.)
I'm working on something which should let you do that nicely.
Another thing which you