~dave-cheney/juju-core/102-cmd-init-context

Viewing all changes in revision 498.

  • Committer: Roger Peppe
  • Date: 2012-09-12 22:53:44 UTC
  • mfrom: (478.7.21 056-container-fix)
  • Revision ID: roger.peppe@canonical.com-20120912225344-ih1kx2hxv1uw1s8m
container: fix jujud arguments.

Unfortunately we can't test this properly until
we have something using container to do a deployment,
which won't happen until the uniter integration
branch (https://codereview.appspot.com/6497109/)
is merged.

We also add a Unit.AgentName method, meaning
that we can use the same logic in various places that
need to calculate an agent name from a unit.

We also change the path where unit data is stored
($vardir/agents/unit-agent-name) so that any other
agent data can have an entry in the agents directory too.

R=fwereade, niemeyer
CC=
https://codereview.appspot.com/6498117

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: