Merge lp://qastaging/~nick-moffitt/charm-helpers/pass-more-data-to-context-dict-for-templates into lp://qastaging/charm-helpers

Proposed by Nick Moffitt
Status: Superseded
Proposed branch: lp://qastaging/~nick-moffitt/charm-helpers/pass-more-data-to-context-dict-for-templates
Merge into: lp://qastaging/charm-helpers
Diff against target: 24 lines (+3/-2)
1 file modified
charmhelpers/core/host.py (+3/-2)
To merge this branch: bzr merge lp://qastaging/~nick-moffitt/charm-helpers/pass-more-data-to-context-dict-for-templates
Reviewer Review Type Date Requested Status
Matthew Wedgwood Pending
Review via email: mp+166484@code.qastaging.launchpad.net

This proposal has been superseded by a proposal from 2013-05-30.

Description of the change

Right now the only way to add data to the context dictionary that is used in write_file is to poke strings into os.environ (because that's only made once when os is imported). This change will allow you to push your own keyword args into render_template_file and write_file that will appear alongside "conf" and "rel" and "env" etc in the context dictionary.

To post a comment you must log in.

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches