Merge lp:~michael.nelson/charm-helpers/namespace-relation-data into lp:charm-helpers
Proposed by
Michael Nelson
Status: | Merged |
---|---|
Merged at revision: | 62 |
Proposed branch: | lp:~michael.nelson/charm-helpers/namespace-relation-data |
Merge into: | lp:charm-helpers |
Prerequisite: | lp:~michael.nelson/charm-helpers/ensure_etc_salt_exists |
Diff against target: |
99 lines (+56/-5) 2 files modified
charmhelpers/contrib/saltstack/__init__.py (+17/-2) tests/contrib/saltstack/test_saltstates.py (+39/-3) |
To merge this branch: | bzr merge lp:~michael.nelson/charm-helpers/namespace-relation-data |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Matthew Wedgwood (community) | Approve | ||
Review via email: mp+170575@code.launchpad.net |
Description of the change
This branch namespaces the relationship data stored in the salt grains file (for use in the machine states or template files).
It then additionally makes this data persistent. Rather than re-writing the grains each time update_
Finally, I just added a small host.apt_
I've QA'd this functionality on my charm.
Thanks!
To post a comment you must log in.
Michael,
This looks to be based on your other MP with the hookenv changes. If you can re-base it to trunk, I'll be glad to take another look.