Merge lp:~thedac/charm-helpers/apparmor into lp:charm-helpers
Proposed by
David Ames
Status: | Merged |
---|---|
Merged at revision: | 559 |
Proposed branch: | lp:~thedac/charm-helpers/apparmor |
Merge into: | lp:charm-helpers |
Diff against target: |
214 lines (+177/-1) 2 files modified
charmhelpers/contrib/openstack/context.py (+91/-1) tests/contrib/openstack/test_os_contexts.py (+86/-0) |
To merge this branch: | bzr merge lp:~thedac/charm-helpers/apparmor |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Page | Approve | ||
Review via email: mp+290096@code.launchpad.net |
Description of the change
Apparmor class for OpenStack charms
The class will validate aa-profile-mode config settings and either set
the profile to enforce, complain or disable mode.
To post a comment you must log in.
See my inline comments. They don't alter functionality, but change an appArmorContext .ctxt to a property that is set only once regardless of whether returned in the __call__() or directly by instance.ctxt. However, it's a style thing only.
Otherwise, good to go.