Merge lp://qastaging/~gandelman-a/charm-helpers/os_templating_contexts into lp://qastaging/charm-helpers
Proposed by
Adam Gandelman
Status: | Merged |
---|---|
Merged at revision: | 50 |
Proposed branch: | lp://qastaging/~gandelman-a/charm-helpers/os_templating_contexts |
Merge into: | lp://qastaging/charm-helpers |
Diff against target: |
1601 lines (+1374/-36) 10 files modified
charmhelpers/contrib/openstack/context.py (+271/-0) charmhelpers/contrib/openstack/openstack_utils.py (+40/-27) charmhelpers/contrib/openstack/templates/__init__.py (+2/-0) charmhelpers/contrib/openstack/templates/ceph.conf (+11/-0) charmhelpers/contrib/openstack/templates/haproxy.cfg (+37/-0) charmhelpers/contrib/openstack/templates/openstack_https_frontend (+23/-0) charmhelpers/contrib/openstack/templating.py (+261/-0) tests/contrib/openstack/test_openstack_utils.py (+43/-9) tests/contrib/openstack/test_os_contexts.py (+454/-0) tests/contrib/openstack/test_os_templating.py (+232/-0) |
To merge this branch: | bzr merge lp://qastaging/~gandelman-a/charm-helpers/os_templating_contexts |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adam Gandelman (community) | Needs Resubmitting | ||
James Page | Needs Fixing | ||
Review via email: mp+174090@code.qastaging.launchpad.net |
Commit message
A common templating system and context generators for OpenStack charms.
To post a comment you must log in.
More feedback:
1) templating. py/get_ loader
tmpl_dirs = ( join(templates_ dir, 'essex')), join(templates_ dir, 'folsom')), join(templates_ dir, 'grizzly')), join(templates_ dir, 'havana')),
('icehouse' , os.path. join(templates_ dir, 'icehouse')),
('essex', os.path.
('folsom', os.path.
('grizzly', os.path.
('havana', os.path.
)
Can we drive this off a list of supported released please; if this is a for loop of suchlike they adding a new release is just done in openstack_utils.py
2) templating. py/general
level='ERROR'; hookenv has a constant for this - please use.
3) templating. py/OSConfigTemp late & OSConfigRenderer
Please could these classes grow some pydoc - took me a while to figure out how to use them.