-
Committer:
Tarmac
-
Author(s):
jtv at canonical
-
Date:
2013-07-15 04:51:31 UTC
-
mfrom:
(1440.2.4 var-lib-juju)
-
Revision ID:
tarmac-20130715045131-ecmza5n94prfehz1
[r=jtv] Make "/var/lib/juju" path a variable.
That particular path, for cloudinit's benefit, is hard-coded all over the
provider code. It may be an obstacle to testing, because tests can't
substitute a fake (and obviously tests shouldn't mess with /var/lib/juju, or
even rely on its existence).
If we later find that one of these mentions is different from the others, it's
quite possible that we have to specialize some of the uses into separate
variables. For now, the main things are to be aware, and to have an injection
point for tests.