juju/juju — pull request #1188 by howbazaar (2014-11-20 01:24:06+00:00)
Title: Add upgrade step to put the system identity back.

The agent config is updated by the upgrade step.
The machine agent code that writes or removes the system identity is now moved into its own worker that runs after the upgrade steps have finished. This avoids the race to remove and add the file.