Merge lp://qastaging/~mew/juju-deployer/option-from-file into lp://qastaging/~gandelman-a/juju-deployer/trunk
Proposed by
Matthew Wedgwood
Status: | Merged |
---|---|
Merged at revision: | 65 |
Proposed branch: | lp://qastaging/~mew/juju-deployer/option-from-file |
Merge into: | lp://qastaging/~gandelman-a/juju-deployer/trunk |
Diff against target: |
256 lines (+96/-57) 2 files modified
deployer.py (+48/-19) utils.py (+48/-38) |
To merge this branch: | bzr merge lp://qastaging/~mew/juju-deployer/option-from-file |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adam Gandelman | Pending | ||
Review via email: mp+147236@code.qastaging.launchpad.net |
Description of the change
Allow the value of a charm config option to be read from a file (and optionally base64 encoded). The use case for this is config options with multi-line or encoded values, such as the "vhost_
http://
To post a comment you must log in.
Matthew, this generally works good. Just wondering if the read()s should also strip() trailing newlines to keep them from showing up as part of the config value in the environment?