~hatch/juju-gui/fix-node

Viewing all changes in revision 42.

  • Committer: Benjamin Saller
  • Author(s): Benjamin Saller
  • Date: 2013-04-17 20:51:54 UTC
  • mfrom: (41.1.17 sandbox-charm)
  • Revision ID: bcsaller@gmail.com-20130417205154-uyl9rhuh95ix8dy8
Refactor Charm for Sandbox support

This adds a composition system for creating backend object.
Backend implement start(), stop() and install() methods. A backend
is composed of many mixins and each mixin will implement any/of
of those methods and all will be called. Backends additionally 
provide for collecting property values from each mixin into a single 
final property on the backend. There is also a feature for determining 
if configuration values have changed between old and new configurations
so we can selectively take action.

Using these features we add support for Sandbox'd deployments, 
limiting support for adding apt repositories and the ability 
to fetch a juju-gui release from a URL specified in a configuration 
property.

R=gary.poster, matthew.scott
CC=
https://codereview.appspot.com/8727047

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: