Relation dependency

Sameer Zeidat sameerz at yahoo.com
Thu Jan 30 01:49:48 UTC 2014


Hello,

I'm relatively new to juju, and starting to write some charms.

One thing I'm missing is relation dependency. Say service A can join a relation with B and C. I would like for juju to stop A from joining C if it has not joined B first. Same also, stop A from departing C if it hasn't departed B first.

If this isn't possible then I'd like to at least be able to run a hook on C, for instance, if A's relation with B changes.

Does it make sense?

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140130/2aa4274c/attachment.html>


More information about the Juju mailing list