Add the database master upgrade target, and check for valid steps.
Worked out if master, now for extra testing.
update juju utils to fix windows build breakage
Merge pull request #320 from davecheney/139-update-juju-utils

update juju utils to fix windows build breakage
Add a test for the upgrade targets.
Refactoring post review.
Merge pull request #321 from howbazaar/schema-upgrade-type

Schema upgrade type

Add an upgrade target for DatabaseMaster, that should be used for any db-schema changes.

When the machine agent runs the upgrade steps now, it also checks to see if it is the master, and if so, uses this to determine the steps.
Update to fix licence dependencies
Removed unused fakeRestart func
Fix gnuflag rev
Merge pull request #325 from wallyworld/license-dependnecies

Update to fix licence dependencies

Update to fix licence dependencies
cmd/jujud: retry upgrades on failure

Given that we currently have no way of rolling back upgrades it's
worth retrying upgrades in case of transient errors. Logging around
upgrades has been improved a bit as well.

Future changes will improve the handling of upgrade error reporting
further (via agent status).
Merge pull request #322 from mjs/retry-upgrade-steps

cmd/jujud: retry upgrades on failure

Given that we currently have no way of rolling back upgrades it's worth retrying upgrades in case of transient errors. Logging around upgrades has been improved a bit as well.

Future changes will improve the handling of upgrade error reporting further (via agent status).