Merge lp:~thedac/charm-helpers/apparmor into lp:charm-helpers
Proposed by
David Ames
on 2016-03-24
| 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 | 2016-03-24 | Approve on 2016-04-04 | |
|
Review via email:
|
|||
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.
lp:~thedac/charm-helpers/apparmor
updated
on 2016-03-25
- 556. By David Ames on 2016-03-25
-
Fix call to manually_
disable_ aa_profile( ) - 557. By David Ames on 2016-03-25
-
Move mitaka check into base AA class
| Alex Kavanagh (ajkavanagh) wrote : | # |
lp:~thedac/charm-helpers/apparmor
updated
on 2016-03-29
- 558. By David Ames on 2016-03-29
-
Set self.ctxt as a property
| Alex Kavanagh (ajkavanagh) wrote : | # |
Just a tiny inline comment.
lp:~thedac/charm-helpers/apparmor
updated
on 2016-03-30
- 559. By David Ames on 2016-03-30
-
Use self() rather than self.__call__()
review:
Needs Fixing
| David Ames (thedac) wrote : | # |
I'll address the comments.
lp:~thedac/charm-helpers/apparmor
updated
on 2016-03-31
- 560. By David Ames on 2016-03-31
-
Remove python3 setting, add comments for manual disable
| James Page (james-page) wrote : | # |
LGTM but does need a rebase prior to merge - please land away!
review:
Approve
lp:~thedac/charm-helpers/apparmor
updated
on 2016-04-04
- 561. By David Ames on 2016-04-04
-
Merge upstream
| David Ames (thedac) wrote : | # |
Rebased. Merging.


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.