Re: Control different relation sequence

2013-09-04 Thread Kapil Thangavelu
The missing command here is relation-ids to list the relation ids of a given relation name. JUJU_RELATION_ID gives the current relation be executed for, to trigger/inspect state on other relations, the relation-ids command can be used to find their id, which can be passed to relation-get/set with -

Re: Control different relation sequence

2013-09-04 Thread Gustavo Niemeyer
Exactly, that's what I would probably do as well. Once you are within a relation you want to wait for further actions, dump the $JUJU_RELATION_ID into a file and wait until you want to wake it up again. Hooks are guaranteed to be run in series, so you don't have to worry about concurrency issues a

Bigger, better, more...

2013-09-04 Thread Nick Veitch
Big thanks to everyone who participated in the Juju Docs virtual mini-sprint on 30th August! 20 outstanding tasks were completed (outstandingly) 7 completely new pages added 12+ participants Across the day we made great progress in a number of areas, adding examples, more explanations and referen