Merge lp://staging/~niedbalski/charms/precise/rsyslog/lp-1310793 into lp://staging/charms/rsyslog
Proposed by
Jorge Niedbalski
Status: | Merged |
---|---|
Merged at revision: | 10 |
Proposed branch: | lp://staging/~niedbalski/charms/precise/rsyslog/lp-1310793 |
Merge into: | lp://staging/charms/rsyslog |
Diff against target: |
1813 lines (+1595/-70) 24 files modified
Makefile (+22/-0) README (+0/-1) charm-helpers.yaml (+5/-0) config.yaml (+4/-0) files/60-aggregator.conf (+0/-7) hooks/charmhelpers/contrib/templating/contexts.py (+104/-0) hooks/charmhelpers/core/hookenv.py (+401/-0) hooks/charmhelpers/core/host.py (+297/-0) hooks/charmhelpers/fetch/__init__.py (+308/-0) hooks/charmhelpers/fetch/archiveurl.py (+63/-0) hooks/charmhelpers/fetch/bzrurl.py (+49/-0) hooks/config-changed (+0/-39) hooks/hooks.py (+125/-0) hooks/install (+0/-8) hooks/start (+0/-8) hooks/stop (+0/-4) hooks/upgrade-charm (+0/-2) revision (+1/-1) setup.cfg (+5/-0) templates/60-aggregator.conf (+7/-0) templates/nova-logging.conf (+12/-0) templates/rsyslog.conf (+37/-0) test_requirements.txt (+6/-0) unit_tests/test_hooks.py (+149/-0) |
To merge this branch: | bzr merge lp://staging/~niedbalski/charms/precise/rsyslog/lp-1310793 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marco Ceppi (community) | Approve | ||
Review via email: mp+216773@code.staging.launchpad.net |
Description of the change
Proposed for fix lp:1310793
To post a comment you must log in.
Hey Jorge,
Thanks for this submission, it looks great! Happy to see all those unit tests! I had to make a small change to the test_hooks.py file to get `make test` to complete successfully, so that should probably be updated on your branch:
--- unit_tests/ test_hooks. py 2014-04-30 20:29:29.665068579 -0400 test_hooks. py.new 2014-04-30 20:28:02.954158683 -0400
+++ unit_tests/
@@ -13,7 +13,7 @@
except ImportError as ex:
raise ImportError("Please install unittest and mock modules")
-from hooks import hooks
+import hooks
TO_PATCH = [
"apt_install",
Aside from that, this looks awesome and gets a big +1 from me. Someone from the charmers team will come through soon to do a followup review and promulgate these changes into the charm store.
If you have any questions/ comments/ concerns about the review contact us in #juju on irc.freenode.net or email the mailing list <email address hidden>
Thanks again for this contribution!