juju/juju — pull request #2 by wwitzel3 (2014-06-03 16:11:32+00:00)
Title: state/machine: use WaitAgentPresence, rename AgentAlive

Using WaitAgentPresence after SetAgentPresence gives time for the first write of the pinger data to mongo to be persisted. This fixes issues with juju status and ensure-availability being run in quick succession with juju bootstrap.