Merge lp:~tribaal/charms/trusty/ntpmaster/python3-hooks into lp:charms/trusty/ntpmaster
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Merged at revision: | 16 | ||||
| Proposed branch: | lp:~tribaal/charms/trusty/ntpmaster/python3-hooks | ||||
| Merge into: | lp:charms/trusty/ntpmaster | ||||
| Diff against target: |
113 lines (+31/-9) 2 files modified
hooks/charmhelpers/core/host.py (+30/-8) hooks/ntpmaster_hooks.py (+1/-1) |
||||
| To merge this branch: | bzr merge lp:~tribaal/charms/trusty/ntpmaster/python3-hooks | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Review Queue (community) | automated testing | Needs Fixing on 2016-05-20 | |
| Charles Butler (community) | 2016-05-03 | Approve on 2016-05-04 | |
|
Review via email:
|
|||
Description of the Change
This branch makes the charm code run on python3 instead of python2, since the latter is not available on a Xenial+ image by default.
Steps taken:
- Refresh charmhelpers (they now use six where necesseary)
- Change the shebang to point to python3 instead of python.
Tests done:
Autopilot deployments didn't reveal any problems (charm installs and works as expected) on both trusty and xenial.
| Chris Glass (tribaal) wrote : | # |
| Charles Butler (lazypower) wrote : | # |
+1 LGTM
It gets a clean bill of health from bundle tester
PASS: 4 Total: 4 (357.364986 sec)
Thanks for the contribution!
| Charles Butler (lazypower) wrote : | # |
Thanks for the submission! A few things I did as a follow up i want documented as the new charm store bits may have some dragons in there...
- pushed this to cs:~landscape-
- set acl to read=everyone
- promulgated this to ntpmaster-5 in the store
Any future pushes to cs:~landscape-
If you have any questions/
| Review Queue (review-queue) wrote : | # |
This item has failed automated testing! Results available here http://
| Review Queue (review-queue) wrote : | # |
This item has failed automated testing! Results available here http://

This exact code is already published to the charm store at cs:~tribaal/ xenial/ ntpmaster- python3- 0 for testing purposes.