~rogpeppe/juju-core/azure

  • 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.
Filename Latest Rev Last Changed Committer Comment Size
..
agent.go 1384.2.20 11 years ago John Arbash Meinel Merge trunk, resolve conflicts. Logical conflict 6.6 KB Diff Download File
agent_test.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 10 KB Diff Download File
diskmanager.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 945 bytes Diff Download File
diskmanager_test.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 2.7 KB Diff Download File
interfaces.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 695 bytes Diff Download File
tools.go 1206.2.1 11 years ago Martin Packman Add copyright statement at the top of all go files 4.4 KB Diff Download File
tools_compat_test.go 1409.2.4 11 years ago John Arbash Meinel Respond to jtv's review. 1013 bytes Diff Download File
tools_test.go 1409.2.2 11 years ago John Arbash Meinel Turn environs/agent into a top level agent/ packag 6.6 KB Diff Download File