Commit Graph

21 Commits

Author SHA1 Message Date
Nathan LeClaire d189baf36c Move fakedriver to its own module for reuse
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-20 16:48:47 -07:00
Nathan LeClaire 73862e863c Update tests to work with new provisioning
Also, comment provisioner interface slightly better.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-03-20 16:30:46 -07:00
Evan Hazlett 5a86bad5fe
libmachine: updated tests
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-19 18:53:13 -04:00
Evan Hazlett 84c1d10a95 update tests
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-19 18:09:30 -04:00
Evan Hazlett 27be8cf28e initial pass at internal api
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-19 18:09:30 -04:00
Dave Henderson 3dfc436e07 Revert "revert "Fixing `config` and `env` bad handling of paths with spaces""
Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
2015-03-19 10:03:42 -04:00
Evan Hazlett e781ae7269
revert "Fixing `config` and `env` bad handling of paths with spaces"
This causes a regression when using with the Docker CLI:

FATA[0000] Couldn't read ca cert
"/home/ehazlett/.docker/machine/machines/dev"/ca.pem

This reverts commit 3c57799534.

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-18 22:10:07 -04:00
Dave Henderson 3c57799534 Fixing `config` and `env` bad handling of paths with spaces
Fixes #781

Signed-off-by: Dave Henderson <Dave.Henderson@ca.ibm.com>
2015-03-18 11:04:47 -04:00
Evan Hazlett d2869cbd38 Merge remote-tracking branch 'origin/master' into driver-refactor 2015-03-09 22:53:41 -04:00
Evan Hazlett 3347d1e82f
rename HypervisorType to ProviderType
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-09 16:03:36 -04:00
Evan Hazlett c76d1a253f
revert to GetSSHHostname based on feedback from @nathanleclaire
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-09 15:55:18 -04:00
Evan Hazlett e43da502f3
refactor commands.go to use host ssh and upgrade
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-03-09 12:49:46 -04:00
Ke Zhu 1bb4b95110 keep using --tlsverify between config and env commands
Signed-off-by: Ke Zhu <kzhu@us.ibm.com>
2015-03-06 22:22:00 -05:00
Ke Zhu bc91ba8577 keep machine config and machine env consistent
Signed-off-by: Ke Zhu <kzhu@us.ibm.com>
2015-02-27 11:21:16 -05:00
Evan Hazlett 7a101ac92c
refactor directories to machines, certs, cache
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-25 12:32:41 -05:00
Nathan LeClaire b01ce736d2 Finish implementing multi-machine task execution
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-02-24 11:08:49 -08:00
Evan Hazlett 9ca79892a6 wip: commands across nodes
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-02-24 10:21:56 -08:00
Evan Hazlett 57810b298d This adds a method to the Driver: PreCreateCheck. This can be used
where you want to run some prerequisite checks before attempting to
create
the machine.  In the case of EC2, this is a check for an existing
keypair.  This can be used in the other drivers in the future as well.

Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-26 11:27:12 -05:00
Evan Hazlett 0c8ef0abe5 updated tests
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2015-01-15 22:56:25 -05:00
Nathan LeClaire 63bdda0645 Use temp dir instead of default dir
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-07 10:56:26 -08:00
Nathan LeClaire 80436e9b66 Add getHostState test
Also took this opportunity to move getHostState to the bottom of the
file following the existing pattern.

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
2015-01-07 10:31:09 -08:00