Merge lp:~daniel-thewatkins/charm-helpers/unison_patches into lp:charm-helpers
| Status: | Merged |
|---|---|
| Merged at revision: | 411 |
| Proposed branch: | lp:~daniel-thewatkins/charm-helpers/unison_patches |
| Merge into: | lp:charm-helpers |
| Diff against target: |
161 lines (+81/-9) 2 files modified
charmhelpers/contrib/unison/__init__.py (+23/-8) tests/contrib/unison/test_unison.py (+58/-1) |
| To merge this branch: | bzr merge lp:~daniel-thewatkins/charm-helpers/unison_patches |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Stuart Bishop | 2015-07-23 | Approve on 2015-07-23 | |
|
Review via email:
|
|||
Description of the Change
This is an update of https:/
- 411. By Robert C Jennings on 2015-07-23
-
unison: Add handling for peer departed hook
This adds handing for the <peer>-
relation- departed hook in
ssh_authorized_peers() and updates the documentation. Adding ssh_authorized_
peers(. ..) calls to the peer departed
relationship hook will remove the departing unit from the
authorized keys and list of peers. - 412. By Robert C Jennings on 2015-07-23
-
unison: Add all known keys for each host
Adding only the rsa key is problematic. The remote host could be
using ecdsa and the first attmempt to connect will add that ecdsa key
and complain that the rsa key conflicts. Taking all key types adds
flexibility and future-proofing.Without this, connecting to a host that presents an ecdsa host key will
warn that the rsa key conflicts and will require interactive input to
accept the ecdsa key; this breaks the charm. - 413. By Robert C Jennings on 2015-07-23
-
charmhelpers.
contrib. unison: Add support for ecdsa keys Add support for choosing an ssh key type of ecdsa in addition
to the default rsa type already provided.


All looks good and seems correct. Tests pass, except for an unrelated failure on trunk (grrr). I can't suggest any improvements or changes.