lp://staging/~tribaal/charms/trusty/landscape-client/landscape-client-multiple-juju-files
- Get this branch:
- bzr branch lp://staging/~tribaal/charms/trusty/landscape-client/landscape-client-multiple-juju-files
Branch merges
- Adam Collard (community): Needs Fixing
- Landscape: Pending requested
-
Diff: 221 lines (+69/-20)3 files modifiedhooks/common.py (+14/-3)
hooks/hooks.py (+27/-11)
hooks/test_hooks.py (+28/-6)
Branch information
- Owner:
- Chris Glass
- Status:
- Development
Recent revisions
- 40. By Chris Glass
-
Made the charm output juju info in a JSON file in the juju-info.d/ subdirectory
of the ata dir instead of in a juju-info.json file. - 38. By Björn Tillenius
-
Merged apt-retry [r=tribaal,
davidpbritton] . Retry apt-get if the lock can't be aquired. If we get an error from
apt-get we'll retry for 5 minutes.Currently the code retries on any error, since I couldn't see an
easy way of checking for locking errors only. - 37. By Adam Collard
-
Merged ssl-certificate
-confusion [r=tribaal,ack] [f=1287711]. Ensure that we always try to decode the base64 encoded ssl key whenever we write the configuration, not just in registration-
relation- {joined, changed} - 35. By Björn Tillenius
-
Merged relation-
depart- no-register [r=adam- collard, tribaal] [f=1255972]. Clear relation data when departing the relation.
Delete all data related to the container relation when departing it. The
computer title and the juju info file contains information about the remote
unit that landscape-client is related to. If the relation is removed, that
information is not valid anymore and should be removed.This prevents the client from trying to register again when the config-changed
hook is run, which can happen when services are destroyed.I also changed the way hooks are run, so that tests and the real Juju process
runs hooks the same way.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/charms/landscape-client