Hi all

We have a layer that can install a number of different packages. It decides
at runtime which packages will be installed. This layer uses the `apt`
layer which sets a state `apt.installed.<packagename>`.

We want to react to this installed state, but we don't know what the
packagename will be beforehand. This gets decided at runtime. Therefore, we
can't put it in a @when() decorator.

Is there a way to dynamically register handlers at runtime?



Kind regards
Merlijn
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to