lp://staging/~tribaal/charms/trusty/landscape-client/landscape-client-multiple-juju-files

Created by Chris Glass and last modified
Get this branch:
bzr branch lp://staging/~tribaal/charms/trusty/landscape-client/landscape-client-multiple-juju-files
Only Chris Glass can upload to this branch. If you are Chris Glass please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Chris Glass
Status:
Development

Recent revisions

44. By Chris Glass

Fixed typoes and stray whitespace

43. By Chris Glass

As suggested, try to create the dir anyway and catch OSError

42. By Chris Glass

Made the relation-departed hook tests leaner.

41. By Chris Glass

Fixing hooks tests exposed some problems with the code.

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.

39. By Chris Glass

Merge trunk

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}

36. By David Britton

Merging in 1273788-change-relation-interface [f=1273788] [r=andreas,csmith]

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
This branch contains Public information 
Everyone can see this information.

Subscribers