vagrant-skytap 0.1.11 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.byebug_history +242 -19
- data/CHANGELOG.md +9 -0
- data/README.md +30 -8
- data/Vagrantfile.rej +83 -0
- data/_patches-20160112/0 +388 -0
- data/_patches-20160112/1 +82 -0
- data/_patches-20160112/2 +239 -0
- data/_patches-20160112/COMPLETED-ABOVE-THIS-LINE +4 -0
- data/_patches-20160112/COMPLETED-BELOW-THIS-LINE +4 -0
- data/_patches-20160112/CR-ABOVE-THIS-LINE +4 -0
- data/_patches-20160112/CR-BELOW-THIS-LINE +4 -0
- data/_patches-20160112/WIP-ABOVE-THIS-LINE +4 -0
- data/_patches-20160112/WIP-BELOW-THIS-LINE +4 -0
- data/_patches-20160112/acceptance-test-runner +29 -0
- data/_patches-20160112/ansible-1 +92 -0
- data/_patches-20160112/cache-api-client-in-up +40 -0
- data/_patches-20160112/dead-code-in-actions +44 -0
- data/_patches-20160112/debug-changes +42 -0
- data/_patches-20160112/demo-rails-app +1276 -0
- data/_patches-20160112/eng-10166-halt-spec +40 -0
- data/_patches-20160112/eng-10256 +527 -0
- data/_patches-20160112/eng-10256-2 +162 -0
- data/_patches-20160112/eng-10256-ubuntu-testing +88 -0
- data/_patches-20160112/eng-10269-test-stuff +87 -0
- data/_patches-20160112/eng-10269-wtf +119 -0
- data/_patches-20160112/eng-10369 +143 -0
- data/_patches-20160112/eng-10369-tmp +60 -0
- data/_patches-20160112/eng-10919 +56 -0
- data/_patches-20160112/eng-11177-fix-actions-requires +44 -0
- data/_patches-20160112/eng-11442 +4 -0
- data/_patches-20160112/eng-11616 +403 -0
- data/_patches-20160112/eng-11616-2 +67 -0
- data/_patches-20160112/eng-11616-actual +184 -0
- data/_patches-20160112/eng-11625a +4 -0
- data/_patches-20160112/eng-11711 +85 -0
- data/_patches-20160112/eng-12232-command-spec +236 -0
- data/_patches-20160112/eng-12235 +83 -0
- data/_patches-20160112/eng-12235-override-refactor +140 -0
- data/_patches-20160112/eng-12240 +103 -0
- data/_patches-20160112/eng-12249 +40 -0
- data/_patches-20160112/eng-12301 +50 -0
- data/_patches-20160112/eng-12843 +95 -0
- data/_patches-20160112/env-source +112 -0
- data/_patches-20160112/frickin-vagrant-spec +163 -0
- data/_patches-20160112/gem-pre-version +14 -0
- data/_patches-20160112/gems-old +9 -0
- data/_patches-20160112/googles-specs +713 -0
- data/_patches-20160112/local-configs-ignore +61 -0
- data/_patches-20160112/misc +79 -0
- data/_patches-20160112/network-unreachable +31 -0
- data/_patches-20160112/new-boxfile +288 -0
- data/_patches-20160112/parallelization-maybe +198 -0
- data/_patches-20160112/read-state +23 -0
- data/_patches-20160112/refactor-to-use-public_address-cap +25 -0
- data/_patches-20160112/series +60 -0
- data/_patches-20160112/status +12 -0
- data/_patches-20160112/test-move-env-data +231 -0
- data/_patches-20160112/test-vagrantfile-vm1 +167 -0
- data/_patches-20160112/the_version_in_0.1.13.pre1 +598 -0
- data/_patches-20160112/vagrant-spec-mock-api +137 -0
- data/_patches-20160112/vagrant-vmware-plugin +233 -0
- data/_patches-20160112/vagrantfile +403 -0
- data/_patches-20160112/vagrantfile-for-acceptance-tests +29 -0
- data/_patches-20160112/vagrantfile-for-nick +95 -0
- data/_patches-20160112/vagrantfiles-to-forget-what-they-are-for +134 -0
- data/_patches-20160112/vm-vanished +42 -0
- data/_patches-20160112a/01 +148 -0
- data/_patches-20160112a/2 +239 -0
- data/_patches-20160112a/COMPLETED-ABOVE-THIS-LINE +4 -0
- data/_patches-20160112a/COMPLETED-BELOW-THIS-LINE +4 -0
- data/_patches-20160112a/CR-ABOVE-THIS-LINE +4 -0
- data/_patches-20160112a/CR-BELOW-THIS-LINE +4 -0
- data/_patches-20160112a/WIP-ABOVE-THIS-LINE +4 -0
- data/_patches-20160112a/WIP-BELOW-THIS-LINE +4 -0
- data/_patches-20160112a/acceptance-test-runner +29 -0
- data/_patches-20160112a/ansible-1 +92 -0
- data/_patches-20160112a/cache-api-client-in-up +40 -0
- data/_patches-20160112a/dead-code-in-actions +44 -0
- data/_patches-20160112a/debug-changes +42 -0
- data/_patches-20160112a/demo-rails-app +1276 -0
- data/_patches-20160112a/eng-10166-halt-spec +40 -0
- data/_patches-20160112a/eng-10256-ubuntu-testing +88 -0
- data/_patches-20160112a/eng-10269-test-stuff +87 -0
- data/_patches-20160112a/eng-10269-wtf +119 -0
- data/_patches-20160112a/eng-10369 +143 -0
- data/_patches-20160112a/eng-10369-tmp +60 -0
- data/_patches-20160112a/eng-10919 +56 -0
- data/_patches-20160112a/eng-11177-fix-actions-requires +44 -0
- data/_patches-20160112a/eng-11442 +4 -0
- data/_patches-20160112a/eng-11616 +403 -0
- data/_patches-20160112a/eng-11616-2 +67 -0
- data/_patches-20160112a/eng-11616-actual +184 -0
- data/_patches-20160112a/eng-11625a +4 -0
- data/_patches-20160112a/eng-11711 +85 -0
- data/_patches-20160112a/eng-12232-command-spec +236 -0
- data/_patches-20160112a/eng-12235 +83 -0
- data/_patches-20160112a/eng-12235-override-refactor +140 -0
- data/_patches-20160112a/eng-12240 +103 -0
- data/_patches-20160112a/eng-12249 +40 -0
- data/_patches-20160112a/eng-12301 +50 -0
- data/_patches-20160112a/eng-12843 +95 -0
- data/_patches-20160112a/env-source +112 -0
- data/_patches-20160112a/frickin-vagrant-spec +163 -0
- data/_patches-20160112a/gem-pre-version +14 -0
- data/_patches-20160112a/gems-old +9 -0
- data/_patches-20160112a/googles-specs +713 -0
- data/_patches-20160112a/local-configs-ignore +61 -0
- data/_patches-20160112a/misc +79 -0
- data/_patches-20160112a/network-unreachable +31 -0
- data/_patches-20160112a/new-boxfile +288 -0
- data/_patches-20160112a/parallelization-maybe +198 -0
- data/_patches-20160112a/read-state +23 -0
- data/_patches-20160112a/refactor-to-use-public_address-cap +25 -0
- data/_patches-20160112a/series +58 -0
- data/_patches-20160112a/status +14 -0
- data/_patches-20160112a/test-move-env-data +231 -0
- data/_patches-20160112a/test-vagrantfile-vm1 +167 -0
- data/_patches-20160112a/the_version_in_0.1.13.pre1 +612 -0
- data/_patches-20160112a/then-copy-the-newer-files +632 -0
- data/_patches-20160112a/vagrant-spec-mock-api +137 -0
- data/_patches-20160112a/vagrant-vmware-plugin +233 -0
- data/_patches-20160112a/vagrantfile +403 -0
- data/_patches-20160112a/vagrantfile-for-acceptance-tests +29 -0
- data/_patches-20160112a/vagrantfile-for-nick +95 -0
- data/_patches-20160112a/vagrantfiles-to-forget-what-they-are-for +134 -0
- data/_patches-20160112a/vm-vanished +42 -0
- data/_patches-20160113/COMPLETED-ABOVE-THIS-LINE +4 -0
- data/_patches-20160113/COMPLETED-BELOW-THIS-LINE +4 -0
- data/_patches-20160113/CR-ABOVE-THIS-LINE +4 -0
- data/_patches-20160113/CR-BELOW-THIS-LINE +4 -0
- data/_patches-20160113/WIP-ABOVE-THIS-LINE +4 -0
- data/_patches-20160113/WIP-BELOW-THIS-LINE +4 -0
- data/_patches-20160113/acceptance-test-runner +29 -0
- data/_patches-20160113/ansible-1 +92 -0
- data/_patches-20160113/cache-api-client-in-up +40 -0
- data/_patches-20160113/dead-code-in-actions +44 -0
- data/_patches-20160113/debug-changes +55 -0
- data/_patches-20160113/demo-rails-app +1276 -0
- data/_patches-20160113/eng-10166-halt-spec +40 -0
- data/_patches-20160113/eng-10256 +543 -0
- data/_patches-20160113/eng-10256-ubuntu-testing +88 -0
- data/_patches-20160113/eng-10269-test-stuff +87 -0
- data/_patches-20160113/eng-10269-wtf +119 -0
- data/_patches-20160113/eng-10369 +143 -0
- data/_patches-20160113/eng-10369-tmp +60 -0
- data/_patches-20160113/eng-10919 +56 -0
- data/_patches-20160113/eng-11177-fix-actions-requires +44 -0
- data/_patches-20160113/eng-11442 +4 -0
- data/_patches-20160113/eng-11616 +403 -0
- data/_patches-20160113/eng-11616-2 +67 -0
- data/_patches-20160113/eng-11616-actual +184 -0
- data/_patches-20160113/eng-11625a +4 -0
- data/_patches-20160113/eng-11711 +85 -0
- data/_patches-20160113/eng-12232-command-spec +236 -0
- data/_patches-20160113/eng-12235 +83 -0
- data/_patches-20160113/eng-12235-override-refactor +140 -0
- data/_patches-20160113/eng-12240 +103 -0
- data/_patches-20160113/eng-12249 +40 -0
- data/_patches-20160113/eng-12301 +50 -0
- data/_patches-20160113/eng-12720 +47 -0
- data/_patches-20160113/eng-12843 +95 -0
- data/_patches-20160113/env-source +112 -0
- data/_patches-20160113/frickin-vagrant-spec +163 -0
- data/_patches-20160113/gem-pre-version +14 -0
- data/_patches-20160113/gems-old +9 -0
- data/_patches-20160113/googles-specs +713 -0
- data/_patches-20160113/local-configs-ignore +61 -0
- data/_patches-20160113/misc +79 -0
- data/_patches-20160113/network-unreachable +31 -0
- data/_patches-20160113/new-boxfile +288 -0
- data/_patches-20160113/parallelization-maybe +198 -0
- data/_patches-20160113/read-state +23 -0
- data/_patches-20160113/refactor-to-use-public_address-cap +25 -0
- data/_patches-20160113/series +56 -0
- data/_patches-20160113/status +14 -0
- data/_patches-20160113/test-move-env-data +231 -0
- data/_patches-20160113/test-vagrantfile-vm1 +167 -0
- data/_patches-20160113/vagrant-spec-mock-api +137 -0
- data/_patches-20160113/vagrant-vmware-plugin +233 -0
- data/_patches-20160113/vagrantfile +403 -0
- data/_patches-20160113/vagrantfile-for-acceptance-tests +29 -0
- data/_patches-20160113/vagrantfile-for-nick +95 -0
- data/_patches-20160113/vagrantfiles-to-forget-what-they-are-for +134 -0
- data/_patches-20160113/vm-vanished +42 -0
- data/_patches-20160118/COMPLETED-ABOVE-THIS-LINE +4 -0
- data/_patches-20160118/COMPLETED-BELOW-THIS-LINE +4 -0
- data/_patches-20160118/CR-ABOVE-THIS-LINE +4 -0
- data/_patches-20160118/CR-BELOW-THIS-LINE +4 -0
- data/_patches-20160118/WIP-ABOVE-THIS-LINE +4 -0
- data/_patches-20160118/WIP-BELOW-THIS-LINE +4 -0
- data/_patches-20160118/acceptance-test-runner +29 -0
- data/_patches-20160118/ansible-1 +92 -0
- data/_patches-20160118/cache-api-client-in-up +40 -0
- data/_patches-20160118/dead-code-in-actions +44 -0
- data/_patches-20160118/debug-changes +55 -0
- data/_patches-20160118/demo-rails-app +1276 -0
- data/_patches-20160118/eng-10166-halt-spec +40 -0
- data/_patches-20160118/eng-10256 +554 -0
- data/_patches-20160118/eng-10256-cr +314 -0
- data/_patches-20160118/eng-10256-ubuntu-testing +88 -0
- data/_patches-20160118/eng-10269-test-stuff +87 -0
- data/_patches-20160118/eng-10269-wtf +119 -0
- data/_patches-20160118/eng-10369 +143 -0
- data/_patches-20160118/eng-10369-tmp +60 -0
- data/_patches-20160118/eng-10919 +56 -0
- data/_patches-20160118/eng-11177-fix-actions-requires +44 -0
- data/_patches-20160118/eng-11442 +4 -0
- data/_patches-20160118/eng-11616 +403 -0
- data/_patches-20160118/eng-11616-2 +67 -0
- data/_patches-20160118/eng-11616-actual +184 -0
- data/_patches-20160118/eng-11625a +4 -0
- data/_patches-20160118/eng-11711 +85 -0
- data/_patches-20160118/eng-12232-command-spec +236 -0
- data/_patches-20160118/eng-12235 +83 -0
- data/_patches-20160118/eng-12235-override-refactor +140 -0
- data/_patches-20160118/eng-12240 +103 -0
- data/_patches-20160118/eng-12249 +40 -0
- data/_patches-20160118/eng-12301 +50 -0
- data/_patches-20160118/eng-12720 +74 -0
- data/_patches-20160118/eng-12843 +95 -0
- data/_patches-20160118/eng-13040 +291 -0
- data/_patches-20160118/env-source +112 -0
- data/_patches-20160118/frickin-vagrant-spec +163 -0
- data/_patches-20160118/gem-pre-version +14 -0
- data/_patches-20160118/gems-old +9 -0
- data/_patches-20160118/googles-specs +713 -0
- data/_patches-20160118/local-configs-ignore +61 -0
- data/_patches-20160118/misc +79 -0
- data/_patches-20160118/network-unreachable +31 -0
- data/_patches-20160118/new-boxfile +288 -0
- data/_patches-20160118/parallelization-maybe +198 -0
- data/_patches-20160118/port-forwarding-processes +87 -0
- data/_patches-20160118/read-state +23 -0
- data/_patches-20160118/refactor-to-use-public_address-cap +25 -0
- data/_patches-20160118/series +59 -0
- data/_patches-20160118/status +13 -0
- data/_patches-20160118/test-move-env-data +231 -0
- data/_patches-20160118/test-vagrantfile-vm1 +167 -0
- data/_patches-20160118/vagrant-spec-mock-api +137 -0
- data/_patches-20160118/vagrant-vmware-plugin +233 -0
- data/_patches-20160118/vagrantfile +403 -0
- data/_patches-20160118/vagrantfile-for-acceptance-tests +29 -0
- data/_patches-20160118/vagrantfile-for-nick +95 -0
- data/_patches-20160118/vagrantfiles-to-forget-what-they-are-for +134 -0
- data/_patches-20160118/vm-vanished +42 -0
- data/_patches-20160118a/COMPLETED-ABOVE-THIS-LINE +4 -0
- data/_patches-20160118a/COMPLETED-BELOW-THIS-LINE +4 -0
- data/_patches-20160118a/CR-ABOVE-THIS-LINE +4 -0
- data/_patches-20160118a/CR-BELOW-THIS-LINE +4 -0
- data/_patches-20160118a/WIP-ABOVE-THIS-LINE +4 -0
- data/_patches-20160118a/WIP-BELOW-THIS-LINE +4 -0
- data/_patches-20160118a/acceptance-test-runner +29 -0
- data/_patches-20160118a/ansible-1 +92 -0
- data/_patches-20160118a/bar +189 -0
- data/_patches-20160118a/cache-api-client-in-up +40 -0
- data/_patches-20160118a/dead-code-in-actions +44 -0
- data/_patches-20160118a/debug-changes +55 -0
- data/_patches-20160118a/demo-rails-app +1276 -0
- data/_patches-20160118a/eng-10166-halt-spec +40 -0
- data/_patches-20160118a/eng-10256 +554 -0
- data/_patches-20160118a/eng-10256-cr +314 -0
- data/_patches-20160118a/eng-10256-ubuntu-testing +88 -0
- data/_patches-20160118a/eng-10269-test-stuff +87 -0
- data/_patches-20160118a/eng-10269-wtf +119 -0
- data/_patches-20160118a/eng-10369 +143 -0
- data/_patches-20160118a/eng-10369-tmp +60 -0
- data/_patches-20160118a/eng-10919 +56 -0
- data/_patches-20160118a/eng-11177-fix-actions-requires +44 -0
- data/_patches-20160118a/eng-11442 +4 -0
- data/_patches-20160118a/eng-11616 +403 -0
- data/_patches-20160118a/eng-11616-2 +67 -0
- data/_patches-20160118a/eng-11616-actual +184 -0
- data/_patches-20160118a/eng-11625a +4 -0
- data/_patches-20160118a/eng-11711 +85 -0
- data/_patches-20160118a/eng-12232-command-spec +236 -0
- data/_patches-20160118a/eng-12235 +83 -0
- data/_patches-20160118a/eng-12235-override-refactor +140 -0
- data/_patches-20160118a/eng-12240 +103 -0
- data/_patches-20160118a/eng-12249 +40 -0
- data/_patches-20160118a/eng-12301 +50 -0
- data/_patches-20160118a/eng-12720 +74 -0
- data/_patches-20160118a/eng-12843 +95 -0
- data/_patches-20160118a/eng-13040 +291 -0
- data/_patches-20160118a/env-source +112 -0
- data/_patches-20160118a/foo +169 -0
- data/_patches-20160118a/frickin-vagrant-spec +163 -0
- data/_patches-20160118a/gem-pre-version +14 -0
- data/_patches-20160118a/gems-old +9 -0
- data/_patches-20160118a/googles-specs +713 -0
- data/_patches-20160118a/guestport-madness +59 -0
- data/_patches-20160118a/local-configs-ignore +61 -0
- data/_patches-20160118a/misc +79 -0
- data/_patches-20160118a/network-unreachable +31 -0
- data/_patches-20160118a/new-boxfile +288 -0
- data/_patches-20160118a/parallelization-maybe +198 -0
- data/_patches-20160118a/port-forwarding-processes +87 -0
- data/_patches-20160118a/read-state +23 -0
- data/_patches-20160118a/refactor-to-use-public_address-cap +25 -0
- data/_patches-20160118a/series +62 -0
- data/_patches-20160118a/status +14 -0
- data/_patches-20160118a/test-move-env-data +231 -0
- data/_patches-20160118a/test-vagrantfile-vm1 +167 -0
- data/_patches-20160118a/vagrant-spec-mock-api +137 -0
- data/_patches-20160118a/vagrant-vmware-plugin +233 -0
- data/_patches-20160118a/vagrantfile +403 -0
- data/_patches-20160118a/vagrantfile-for-acceptance-tests +29 -0
- data/_patches-20160118a/vagrantfile-for-nick +95 -0
- data/_patches-20160118a/vagrantfiles-to-forget-what-they-are-for +134 -0
- data/_patches-20160118a/vm-vanished +42 -0
- data/lib/vagrant-skytap/action/clear_forwarded_ports.rb +19 -0
- data/lib/vagrant-skytap/action/forward_ports.rb +42 -0
- data/lib/vagrant-skytap/action/prepare_forwarded_port_collision_params.rb +37 -0
- data/lib/vagrant-skytap/action.rb +18 -0
- data/lib/vagrant-skytap/api/environment.rb +19 -4
- data/lib/vagrant-skytap/api/vm.rb +10 -6
- data/lib/vagrant-skytap/command/up.rb +7 -1
- data/lib/vagrant-skytap/errors.rb +4 -0
- data/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb +15 -0
- data/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb +183 -0
- data/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb +15 -0
- data/lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb +27 -0
- data/lib/vagrant-skytap/model/forwarded_port.rb +78 -0
- data/lib/vagrant-skytap/plugin.rb +15 -0
- data/lib/vagrant-skytap/util/compile_forwarded_ports.rb +35 -0
- data/lib/vagrant-skytap/version.rb +1 -1
- data/locales/en.yml +3 -0
- data/spec/unit/environment_spec.rb +14 -2
- data/spec/unit/forwarded_port_spec.rb +45 -0
- data/spec/unit/hosts/common/cap/ssh_tunnel_spec.rb +180 -0
- data/spec/unit/prepare_collision_params_spec.rb +57 -0
- data/spec/unit/support/forwarded_ports/machines/vm1/skytap/id +1 -0
- data/spec/unit/support/forwarded_ports/machines/vm1/skytap/private_key +4 -0
- data/spec/unit/support/forwarded_ports/machines/vm1/skytap/tcp9000_tcp_9000_80.pid +1 -0
- data/spec/unit/support/forwarded_ports/machines/vm1/skytap/tcp9001_tcp_9001_81.pid +1 -0
- data/spec/unit/support/forwarded_ports/machines/vm1/virtualbox/id +1 -0
- data/spec/unit/support/forwarded_ports/machines/vm2/skytap/id +1 -0
- data/spec/unit/support/forwarded_ports/machines/vm2/skytap/tcp8080_tcp_8080_80.pid +1 -0
- data/spec/unit/support/forwarded_ports/machines/vm3/virtualbox/id +1 -0
- data/spec/unit/support/forwarded_ports/machines/vm4/skytap/id +1 -0
- data/spec/unit/support/forwarded_ports/machines/vm4/skytap/tcp8888_tcp_8888_80.pid +1 -0
- metadata +330 -2
@@ -0,0 +1,137 @@
|
|
1
|
+
# HG changeset patch
|
2
|
+
# Parent a50b0c324cbb08bc73192b68a07656b31adf3856
|
3
|
+
# Parent 3d17458551564a54815fa13ec888b3335b947f4a
|
4
|
+
this cannot work, vagrant-spec is totally black box
|
5
|
+
|
6
|
+
diff --git a/Vagrantfile b/Vagrantfile
|
7
|
+
--- a/Vagrantfile
|
8
|
+
+++ b/Vagrantfile
|
9
|
+
@@ -29,13 +29,14 @@
|
10
|
+
WINDOWS_WINRM_CONFIGURED = 'https://cloud.skytap.com/vms/7242468'
|
11
|
+
|
12
|
+
config.vm.define "vm1" do |ubuntu|
|
13
|
+
- ubuntu.vm.hostname = "vm1"
|
14
|
+
+ ubuntu.vm.hostname = "etruevm1"
|
15
|
+
ubuntu.vm.provider :skytap do |box|
|
16
|
+
box.vm_url = UBUNTU1#GENERIC_UBUNTU
|
17
|
+
#box.cpus = 1
|
18
|
+
#box.cpuspersocket = 1
|
19
|
+
#box.ram = 1024
|
20
|
+
#box.guestos = "ubuntu"
|
21
|
+
+ box.vpn_url = "https://cloud.skytap.com/vpns/vpn-711360"
|
22
|
+
end
|
23
|
+
ubuntu.vm.synced_folder "~/test1", "/synced", type: :nfs
|
24
|
+
ubuntu.vm.communicator = :ssh
|
25
|
+
diff --git a/spec/acceptance/provider/halt_spec.rb b/spec/acceptance/provider/halt_spec.rb
|
26
|
+
--- a/spec/acceptance/provider/halt_spec.rb
|
27
|
+
+++ b/spec/acceptance/provider/halt_spec.rb
|
28
|
+
@@ -1,3 +1,69 @@
|
29
|
+
shared_examples 'provider/halt' do |provider, options|
|
30
|
+
|
31
|
+
+
|
32
|
+
+ let(:net_http) {
|
33
|
+
+ double("Net::HTTP")
|
34
|
+
+ }
|
35
|
+
+
|
36
|
+
+ let(:client_class) {
|
37
|
+
+ double("VagrantPlugins::Skytap::API::CLIENT")
|
38
|
+
+ }
|
39
|
+
+
|
40
|
+
+ let(:api_client) do
|
41
|
+
+ double('api_client',
|
42
|
+
+ get: double('resp', body: 'hi')
|
43
|
+
+ )
|
44
|
+
+ end
|
45
|
+
+
|
46
|
+
+
|
47
|
+
+ if !options[:box]
|
48
|
+
+ raise ArgumentError,
|
49
|
+
+ "box option must be specified for provider: #{provider}"
|
50
|
+
+ end
|
51
|
+
+
|
52
|
+
+ include_context 'acceptance'
|
53
|
+
+
|
54
|
+
+ before do
|
55
|
+
+
|
56
|
+
+# debugger
|
57
|
+
+# stub_const("VagrantPlugins::Skytap::API::Client", client_class)
|
58
|
+
+#
|
59
|
+
+# allow(client_class).to receive(:get).
|
60
|
+
+# with("/configurations").
|
61
|
+
+# and_return(Net::HTTPOK)
|
62
|
+
+#
|
63
|
+
+# allow(client_class).to receive(:get).
|
64
|
+
+# and_raise('foo')
|
65
|
+
+## with("/configurations").
|
66
|
+
+# #and_return(Net::HTTPOK)
|
67
|
+
+#
|
68
|
+
+# stub_const("Net::HTTP", net_http)
|
69
|
+
+# allow(net_http).to receive(:new).
|
70
|
+
+# and_raise('foo')
|
71
|
+
+# #with("/configurations").
|
72
|
+
+
|
73
|
+
+
|
74
|
+
+ environment.skeleton('generic')
|
75
|
+
+ assert_execute('vagrant', 'box', 'add', 'skytap-dummy', options[:box])
|
76
|
+
+ assert_execute('vagrant', 'up', "--provider=#{provider}")
|
77
|
+
+ end
|
78
|
+
+
|
79
|
+
+ after do
|
80
|
+
+ assert_execute('vagrant', 'destroy', '--force')
|
81
|
+
+ end
|
82
|
+
+
|
83
|
+
+ it 'should halt the machine and bring it back up' do
|
84
|
+
+ status("Test: machine can be halted")
|
85
|
+
+ halt_result = execute("vagrant", "halt")
|
86
|
+
+ expect(halt_result).to exit_with(0)
|
87
|
+
+#
|
88
|
+
+# status("Test: machine can be brought up after halt")
|
89
|
+
+# up_result = execute("vagrant", "up")
|
90
|
+
+# expect(up_result).to exit_with(0)
|
91
|
+
+#
|
92
|
+
+# status("Test: machine is running after up")
|
93
|
+
+# echo_result = execute("vagrant", "ssh", "-c", "echo foo")
|
94
|
+
+# expect(echo_result).to exit_with(0)
|
95
|
+
+# expect(echo_result.stdout).to match(/foo\n$/)
|
96
|
+
+ end
|
97
|
+
end
|
98
|
+
diff --git a/spec/acceptance/skeletons/mock_api/Vagrantfile b/spec/acceptance/skeletons/mock_api/Vagrantfile
|
99
|
+
new file mode 100644
|
100
|
+
--- /dev/null
|
101
|
+
+++ b/spec/acceptance/skeletons/mock_api/Vagrantfile
|
102
|
+
@@ -0,0 +1,15 @@
|
103
|
+
+Vagrant.configure("2") do |config|
|
104
|
+
+ config.vm.box = "skytap-dummy"
|
105
|
+
+
|
106
|
+
+ config.vm.provider :skytap do |skytap, override|
|
107
|
+
+ skytap.username = "user"
|
108
|
+
+ skytap.api_token = "99999999"
|
109
|
+
+ skytap.base_url = "http://localhost/"
|
110
|
+
+ end
|
111
|
+
+
|
112
|
+
+ config.vm.define "vm1" do |ubuntu|
|
113
|
+
+ ubuntu.vm.provider :skytap do |box|
|
114
|
+
+ box.vm_url = "http://localhost/vms/1"
|
115
|
+
+ end
|
116
|
+
+ end
|
117
|
+
+end
|
118
|
+
diff --git a/spec/acceptance/skeletons/mock_api/skytap-dummy b/spec/acceptance/skeletons/mock_api/skytap-dummy
|
119
|
+
new file mode 100644
|
120
|
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f9eefb302ee552c8d3c6ad929f4946988d2857fd
|
121
|
+
GIT binary patch
|
122
|
+
literal 167
|
123
|
+
zc$|~(=3sc`<q^Wb{Pw&f*C7Le)`#n=yCyK7F!7B3VAi;7K~nTA4UdoS!nm8dcWEpA
|
124
|
+
zx&O@2fG7W);?HC1`>l`dJH1U&X=?GSnWdrogU%S~=d9#<+#?tswQ`Ecxm!lTn*!(a
|
125
|
+
zPoMF}BK&2Ik7Dc9y_IWo_uq-M3w-}aICx!JmBjDY3pp3x)0Xw${)Bz*{m=2!nHiA5
|
126
|
+
Qnkt6NmOI}uXfQAU04kYD3;+NC
|
127
|
+
|
128
|
+
diff --git a/spec/acceptance/skeletons/mock_api/skytap-dummy.box b/spec/acceptance/skeletons/mock_api/skytap-dummy.box
|
129
|
+
new file mode 100644
|
130
|
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f9eefb302ee552c8d3c6ad929f4946988d2857fd
|
131
|
+
GIT binary patch
|
132
|
+
literal 167
|
133
|
+
zc$|~(=3sc`<q^Wb{Pw&f*C7Le)`#n=yCyK7F!7B3VAi;7K~nTA4UdoS!nm8dcWEpA
|
134
|
+
zx&O@2fG7W);?HC1`>l`dJH1U&X=?GSnWdrogU%S~=d9#<+#?tswQ`Ecxm!lTn*!(a
|
135
|
+
zPoMF}BK&2Ik7Dc9y_IWo_uq-M3w-}aICx!JmBjDY3pp3x)0Xw${)Bz*{m=2!nHiA5
|
136
|
+
Qnkt6NmOI}uXfQAU04kYD3;+NC
|
137
|
+
|
@@ -0,0 +1,233 @@
|
|
1
|
+
# HG changeset patch
|
2
|
+
# Parent 2b7d0c8f1544414f2130c40ab986ee9723e06b45
|
3
|
+
The unpacked vagrant-vmware-fusion gem, which is just a stub. The real gem lives elsewhere.
|
4
|
+
|
5
|
+
diff --git a/vagrant-vmware/.gitignore b/vagrant-vmware/.gitignore
|
6
|
+
new file mode 100644
|
7
|
+
--- /dev/null
|
8
|
+
+++ b/vagrant-vmware/.gitignore
|
9
|
+
@@ -0,0 +1,17 @@
|
10
|
+
+*.gem
|
11
|
+
+*.rbc
|
12
|
+
+.bundle
|
13
|
+
+.config
|
14
|
+
+.yardoc
|
15
|
+
+Gemfile.lock
|
16
|
+
+InstalledFiles
|
17
|
+
+_yardoc
|
18
|
+
+coverage
|
19
|
+
+doc/
|
20
|
+
+lib/bundler/man
|
21
|
+
+pkg
|
22
|
+
+rdoc
|
23
|
+
+spec/reports
|
24
|
+
+test/tmp
|
25
|
+
+test/version_tmp
|
26
|
+
+tmp
|
27
|
+
diff --git a/vagrant-vmware/Gemfile b/vagrant-vmware/Gemfile
|
28
|
+
new file mode 100644
|
29
|
+
--- /dev/null
|
30
|
+
+++ b/vagrant-vmware/Gemfile
|
31
|
+
@@ -0,0 +1,3 @@
|
32
|
+
+source "https://rubygems.org"
|
33
|
+
+
|
34
|
+
+gemspec
|
35
|
+
diff --git a/vagrant-vmware/README.md b/vagrant-vmware/README.md
|
36
|
+
new file mode 100644
|
37
|
+
--- /dev/null
|
38
|
+
+++ b/vagrant-vmware/README.md
|
39
|
+
@@ -0,0 +1,5 @@
|
40
|
+
+# Stub Gem for Vagrant VMware Fusion
|
41
|
+
+
|
42
|
+
+This is a stub gem that is pushed to the central RubyGems repository
|
43
|
+
+so that no one can steal the name, but the actual plugin is released
|
44
|
+
+from the HashiCorp repository.
|
45
|
+
diff --git a/vagrant-vmware/Rakefile b/vagrant-vmware/Rakefile
|
46
|
+
new file mode 100644
|
47
|
+
--- /dev/null
|
48
|
+
+++ b/vagrant-vmware/Rakefile
|
49
|
+
@@ -0,0 +1,1 @@
|
50
|
+
+require "bundler/gem_tasks"
|
51
|
+
diff --git a/vagrant-vmware/data.tar b/vagrant-vmware/data.tar
|
52
|
+
new file mode 100644
|
53
|
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9d4f00b266ec98dbc7a6bc438a6ba00b470157fb
|
54
|
+
GIT binary patch
|
55
|
+
literal 8704
|
56
|
+
zc%1E7ZExE)5Z-703PSA=JE$qYB=KM%*n%}#12k)q1o={IDlMHPA`+>QRNSEMf8SA(
|
57
|
+
z9nZ^Z6o}nz)dL%nj>kKR;&VrySR$-Qq|)%+*3d^B9UN3g#QL#691WM}m3%N7qB`ww
|
58
|
+
z@0K1=8p}1hpQQlVXY@9;uRq*>1p6$3oa{3_4GEi;GRlCkP{~*%gxzx;sgV2vc`Pzu
|
59
|
+
znF?>oxx@j>GKkJlWJu8Hgz647Pk`WsPckv}Yh&8axg^DHLMk;=K<H~Il(vRgFxIzu
|
60
|
+
zQJ-LcBa{p(0sg=C$b1`U-tAU>Y~p|aV7$iv;o;$^<^L{VRH;LtUTSS&CcdxB={-gS
|
61
|
+
z!<0@uLfk1*wk6~L6_=+cFE3769&ORbCjO5Gf9L;b-12`Hct)>mIi;8eXsk57;fdzb
|
62
|
+
z(wmDJ*Feuomy!v&PKBZP<J359j0)7I+&WQFniL{x6-t1HAg$&Zy~HqrHVt*T-UzGo
|
63
|
+
zJu#~8Bo$Q>Rk=iKfXc3;<T<>c)6!N~JhUY?6j_-F>AYyjfE$QNtW{pAyy7MmKPz3V
|
64
|
+
zxL|FZ`cho-TiEsjU}OFt9jx<zJRG$A-vu=MQ3_<bw^*(tw*$+~t?^nieFJbiwYxg#
|
65
|
+
z_wI5R^m}m?^l?Y{R6aKGe{itA|35k!wEW)*G#3Whe~lUS(cDi9t?onwy2{s6z<jU6
|
66
|
+
z)TLrtrDC^lz-_~9He<~+Dhn2>+^;7SYoo}&8~@1vMLp&T;=o4!503uI|6zYPZrA@i
|
67
|
+
zL9U`QTUkvLN*hrV4(e#oYy>Fc=JfLF{LQcQn0kHIX9EwVAS2@bU;AlVd?_B!{Y}~D
|
68
|
+
ziF|C}|KR9wJ^zpU<6+DHUEmq*?e~zsp^Ah|CbYD1?*}JyHGJf_tMW7WP;eOq1-EHu
|
69
|
+
zk1-#c_Fm8+I6HrR8U$VP{PmlYm%-bU>sPFl7)WB<L6t5oWd_F3m1ZHstc>8ts+}x0
|
70
|
+
zAA6t8Kzqb}ftXCLa7Kz)gxtC*Dq%(=MdvtG=NN(Tz+4T1E`jmsQL|p7-B@30FGJvD
|
71
|
+
z@<`}IVIB9H-n_J_(q`HFop&K@m_nA-hH_<<_gkY3ITzW=jlJ{oM){}IDTnCQEt-}c
|
72
|
+
zA~2yAg{|-JxL%)WS1WO)7gvjsD+LfIGoalAG5WSDl;AaNTAM8f!jyT=_5H)JZPQt*
|
73
|
+
zawvELOJ^JVEe1S_f(Y&)Q$-Ha;(37?2Pf`5^)$bIP;}J{vohH46Jcp)dX@Y=GestB
|
74
|
+
z=egfqyqgaYmX=TJPR9=>SfZime6K(LJ{8jc)MYs@KGJzSuQ@Tr2X_;$6L;yS#+Lhz
|
75
|
+
t6)gQfYOCXP<}SF-W8k*bV7h3$G0+gAVw$NY3i1SJMVnh&v}p14_!GYNypjL_
|
76
|
+
|
77
|
+
diff --git a/vagrant-vmware/lib/vagrant-vmware-fusion.rb b/vagrant-vmware/lib/vagrant-vmware-fusion.rb
|
78
|
+
new file mode 100644
|
79
|
+
--- /dev/null
|
80
|
+
+++ b/vagrant-vmware/lib/vagrant-vmware-fusion.rb
|
81
|
+
@@ -0,0 +1,1 @@
|
82
|
+
+raise "The Vagrant VMware Fusion provider can be purchased from http://www.vagrantup.com/vmware."
|
83
|
+
diff --git a/vagrant-vmware/lib/vagrant-vmware-fusion/version.rb b/vagrant-vmware/lib/vagrant-vmware-fusion/version.rb
|
84
|
+
new file mode 100644
|
85
|
+
--- /dev/null
|
86
|
+
+++ b/vagrant-vmware/lib/vagrant-vmware-fusion/version.rb
|
87
|
+
@@ -0,0 +1,5 @@
|
88
|
+
+module HashiCorp
|
89
|
+
+ module VagrantVMwareFusion
|
90
|
+
+ VERSION = "0.0.1"
|
91
|
+
+ end
|
92
|
+
+end
|
93
|
+
diff --git a/vagrant-vmware/metadata b/vagrant-vmware/metadata
|
94
|
+
new file mode 100644
|
95
|
+
--- /dev/null
|
96
|
+
+++ b/vagrant-vmware/metadata
|
97
|
+
@@ -0,0 +1,68 @@
|
98
|
+
+--- !ruby/object:Gem::Specification
|
99
|
+
+name: vagrant-vmware-fusion
|
100
|
+
+version: !ruby/object:Gem::Version
|
101
|
+
+ version: 0.0.1
|
102
|
+
+ prerelease:
|
103
|
+
+platform: ruby
|
104
|
+
+authors:
|
105
|
+
+- Mitchell Hashimoto
|
106
|
+
+autorequire:
|
107
|
+
+bindir: bin
|
108
|
+
+cert_chain: []
|
109
|
+
+date: 2013-03-14 00:00:00.000000000 Z
|
110
|
+
+dependencies:
|
111
|
+
+- !ruby/object:Gem::Dependency
|
112
|
+
+ name: rake
|
113
|
+
+ requirement: !ruby/object:Gem::Requirement
|
114
|
+
+ none: false
|
115
|
+
+ requirements:
|
116
|
+
+ - - ! '>='
|
117
|
+
+ - !ruby/object:Gem::Version
|
118
|
+
+ version: '0'
|
119
|
+
+ type: :development
|
120
|
+
+ prerelease: false
|
121
|
+
+ version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
+ none: false
|
123
|
+
+ requirements:
|
124
|
+
+ - - ! '>='
|
125
|
+
+ - !ruby/object:Gem::Version
|
126
|
+
+ version: '0'
|
127
|
+
+description: The real gem is in HashiCorp gem servers. Please see http://www.vagrantup.com/vmware
|
128
|
+
+email:
|
129
|
+
+- mitchell@hashicorp.com
|
130
|
+
+executables: []
|
131
|
+
+extensions: []
|
132
|
+
+extra_rdoc_files: []
|
133
|
+
+files:
|
134
|
+
+- .gitignore
|
135
|
+
+- Gemfile
|
136
|
+
+- README.md
|
137
|
+
+- Rakefile
|
138
|
+
+- lib/vagrant-vmware-fusion.rb
|
139
|
+
+- lib/vagrant-vmware-fusion/version.rb
|
140
|
+
+- vagrant-vmware-fusion.gemspec
|
141
|
+
+homepage: http://www.vagrantup.com/vmware
|
142
|
+
+licenses: []
|
143
|
+
+post_install_message:
|
144
|
+
+rdoc_options: []
|
145
|
+
+require_paths:
|
146
|
+
+- lib
|
147
|
+
+required_ruby_version: !ruby/object:Gem::Requirement
|
148
|
+
+ none: false
|
149
|
+
+ requirements:
|
150
|
+
+ - - ! '>='
|
151
|
+
+ - !ruby/object:Gem::Version
|
152
|
+
+ version: '0'
|
153
|
+
+required_rubygems_version: !ruby/object:Gem::Requirement
|
154
|
+
+ none: false
|
155
|
+
+ requirements:
|
156
|
+
+ - - ! '>='
|
157
|
+
+ - !ruby/object:Gem::Version
|
158
|
+
+ version: '0'
|
159
|
+
+requirements: []
|
160
|
+
+rubyforge_project:
|
161
|
+
+rubygems_version: 1.8.23
|
162
|
+
+signing_key:
|
163
|
+
+specification_version: 3
|
164
|
+
+summary: The real gem is in HashiCorp gem servers. Please see http://www.vagrantup.com/vmware
|
165
|
+
+test_files: []
|
166
|
+
diff --git a/vagrant-vmware/vagrant-vmware-fusion-0.0.1.gem b/vagrant-vmware/vagrant-vmware-fusion-0.0.1.gem
|
167
|
+
new file mode 100644
|
168
|
+
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..75f65fcc2815d10614e8e59b8a3ce45577663a7b
|
169
|
+
GIT binary patch
|
170
|
+
literal 4608
|
171
|
+
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
|
206
|
+
H|HfYdQRG*W
|
207
|
+
|
208
|
+
diff --git a/vagrant-vmware/vagrant-vmware-fusion.gemspec b/vagrant-vmware/vagrant-vmware-fusion.gemspec
|
209
|
+
new file mode 100644
|
210
|
+
--- /dev/null
|
211
|
+
+++ b/vagrant-vmware/vagrant-vmware-fusion.gemspec
|
212
|
+
@@ -0,0 +1,21 @@
|
213
|
+
+# -*- encoding: utf-8 -*-
|
214
|
+
+lib = File.expand_path('../lib', __FILE__)
|
215
|
+
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
216
|
+
+require 'vagrant-vmware-fusion/version'
|
217
|
+
+
|
218
|
+
+Gem::Specification.new do |gem|
|
219
|
+
+ gem.name = "vagrant-vmware-fusion"
|
220
|
+
+ gem.version = HashiCorp::VagrantVMwareFusion::VERSION
|
221
|
+
+ gem.authors = ["Mitchell Hashimoto"]
|
222
|
+
+ gem.email = ["mitchell@hashicorp.com"]
|
223
|
+
+ gem.description = "The real gem is in HashiCorp gem servers. Please see http://www.vagrantup.com/vmware"
|
224
|
+
+ gem.summary = "The real gem is in HashiCorp gem servers. Please see http://www.vagrantup.com/vmware"
|
225
|
+
+ gem.homepage = "http://www.vagrantup.com/vmware"
|
226
|
+
+
|
227
|
+
+ gem.add_development_dependency "rake"
|
228
|
+
+
|
229
|
+
+ gem.files = `git ls-files`.split($/)
|
230
|
+
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
231
|
+
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
232
|
+
+ gem.require_paths = ["lib"]
|
233
|
+
+end
|