Hi list,

Is there a way to get the configuration options from config.yaml from a
hook written in Bash (e.g., environment variable)? I noticed that in Python
we can import from the charmshelper API like this:

   1. from charmhelpers.core.hookenv import (
   2.     config as config_get,
   3.     ...


And then use config_get['option'] to retrieve the option value.

Thanks,

Fred
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to