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
data/_patches-20160112/0
ADDED
@@ -0,0 +1,388 @@
|
|
1
|
+
# HG changeset patch
|
2
|
+
# Parent 015f2d2d5173e7df1f47a07a16eef1a331713c7b
|
3
|
+
[mq]: 0
|
4
|
+
|
5
|
+
diff -r 015f2d2d5173 lib/vagrant-skytap/action/clear_forwarded_ports.rb
|
6
|
+
--- a/lib/vagrant-skytap/action/clear_forwarded_ports.rb Tue Jan 12 18:20:49 2016 -0800
|
7
|
+
+++ b/lib/vagrant-skytap/action/clear_forwarded_ports.rb Tue Jan 12 18:29:09 2016 -0800
|
8
|
+
@@ -14,8 +14,9 @@
|
9
|
+
def call(env)
|
10
|
+
if pidfiles = read_pidfiles.presence
|
11
|
+
env[:ui].info I18n.t("vagrant.actions.vm.clear_forward_ports.deleting")
|
12
|
+
- kill_tunnels(pidfiles)
|
13
|
+
+ #kill_tunnels(pidfiles)
|
14
|
+
end
|
15
|
+
+ pidfiles = @env[:host].capability(:kill_forwarded_ports, @env)
|
16
|
+
|
17
|
+
@app.call(env)
|
18
|
+
end
|
19
|
+
diff -r 015f2d2d5173 lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb
|
20
|
+
--- a/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb Tue Jan 12 18:20:49 2016 -0800
|
21
|
+
+++ b/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb Tue Jan 12 18:29:09 2016 -0800
|
22
|
+
@@ -1,109 +1,12 @@
|
23
|
+
-require "pathname"
|
24
|
+
-require "tmpdir"
|
25
|
+
-require 'childprocess'
|
26
|
+
-require "vagrant/util/subprocess"
|
27
|
+
-#require 'byebug'
|
28
|
+
-#require 'ap'
|
29
|
+
-require 'log4r'
|
30
|
+
-require "vagrant/util/safe_chdir"
|
31
|
+
+require "vagrant-skytap/hosts/common/cap/ssh_tunnel"
|
32
|
+
|
33
|
+
module VagrantPlugins
|
34
|
+
module Skytap
|
35
|
+
module HostBSD
|
36
|
+
module Cap
|
37
|
+
- class SSHTunnel
|
38
|
+
- def self.start_ssh_tunnel(env, fp, env_hash)
|
39
|
+
- logger = Log4r::Logger.new("vagrant::hosts::bsd")
|
40
|
+
- port = {
|
41
|
+
- adapter: fp.adapter,
|
42
|
+
- guestip: fp.guest_ip,
|
43
|
+
- guestport: fp.guest_port,
|
44
|
+
- hostip: fp.host_ip,
|
45
|
+
- hostport: fp.host_port,
|
46
|
+
- name: fp.id,
|
47
|
+
- protocol: fp.protocol
|
48
|
+
- }
|
49
|
+
-
|
50
|
+
- pidfile = pidfile_name(port, env_hash)
|
51
|
+
- pid = read_pid(pidfile)
|
52
|
+
- if pid && autossh_pid?(pid)
|
53
|
+
- logger.info("An autossh process already exists with pid #{pid}.")
|
54
|
+
- else
|
55
|
+
- args = autossh_args(port, pidfile, env_hash)
|
56
|
+
- Vagrant::Util::Subprocess.execute("autossh", *args)
|
57
|
+
- end
|
58
|
+
- end
|
59
|
+
-
|
60
|
+
- def self.kill_ssh_tunnel(env, pidfile, env_hash)
|
61
|
+
- logger = Log4r::Logger.new("vagrant::hosts::bsd")
|
62
|
+
- pidfile = File.join(env_hash[:machine].data_dir, pidfile)
|
63
|
+
- pid = read_pid(pidfile)
|
64
|
+
- if pid && autossh_pid?(pid)
|
65
|
+
- Vagrant::Util::Subprocess.execute("kill", pid.to_s)
|
66
|
+
- else
|
67
|
+
- logger.info("Cleaning up stale autossh pidfile #{pidfile}.")
|
68
|
+
- Vagrant::Util::Subprocess.execute("rm", pidfile)
|
69
|
+
- end
|
70
|
+
- end
|
71
|
+
-
|
72
|
+
- private
|
73
|
+
-
|
74
|
+
- def self.pidfile_name(port, env_hash)
|
75
|
+
- tunnel_name = [port[:hostip], port[:name]].compact.join('_')
|
76
|
+
- File.join(env_hash[:machine].data_dir, "#{tunnel_name}.pid")
|
77
|
+
- end
|
78
|
+
-
|
79
|
+
- def self.read_pid(pidfile)
|
80
|
+
- File.read(pidfile).presence.try(:to_i) if File.exist?(pidfile)
|
81
|
+
- end
|
82
|
+
-
|
83
|
+
- # Checks that the pid is actually an autossh process (and not
|
84
|
+
- # something else using a recycled pid).
|
85
|
+
- def self.autossh_pid?(pid)
|
86
|
+
- # get_comm_for_pid(pid) == 'autossh'
|
87
|
+
- true
|
88
|
+
- end
|
89
|
+
-
|
90
|
+
- # Get the command, minus any arguments, for the given
|
91
|
+
- # pid. I don't expect this to be compatible cross-platform yet...
|
92
|
+
- # This could be complicated cross-platform, and Sys::ProcTable
|
93
|
+
- # could likewise be complicated cross-platform ...
|
94
|
+
- def self.get_comm_for_pid(pid)
|
95
|
+
- result = Vagrant::Util::Subprocess.execute("ps", "-p", pid.to_s, "-o", "comm")
|
96
|
+
- result.stdout.split("\n").last
|
97
|
+
- end
|
98
|
+
-
|
99
|
+
- def self.autossh_args(port, pidfile, env_hash)
|
100
|
+
- ssh_info = env_hash[:machine_ssh_info]
|
101
|
+
- ssh_options = {
|
102
|
+
- "ServerAliveInterval" => 10,
|
103
|
+
- "ServerAliveCountMax" => 3,
|
104
|
+
- "StrictHostKeyChecking" => "no",
|
105
|
+
- }
|
106
|
+
- environment_variables = {
|
107
|
+
- env: {
|
108
|
+
- "AUTOSSH_PIDFILE" => pidfile,
|
109
|
+
- "AUTOSSH_PORT" => 0, # turns off monitoring
|
110
|
+
- #"AUTOSSH_LOGFILE" => "./autossh.log",
|
111
|
+
- }
|
112
|
+
- }
|
113
|
+
- forward_string = [
|
114
|
+
- port[:hostport],
|
115
|
+
- "localhost",
|
116
|
+
- port[:guestport]
|
117
|
+
- ].join(':')
|
118
|
+
-
|
119
|
+
- autossh_args = []
|
120
|
+
- autossh_args << "-q"
|
121
|
+
- autossh_args << "-N"
|
122
|
+
- autossh_args << "-f"
|
123
|
+
- autossh_args << "-i" << env_hash[:machine].data_dir.join("private_key").to_s
|
124
|
+
- autossh_args << "-L" << forward_string
|
125
|
+
- ssh_options.each do |k, v|
|
126
|
+
- autossh_args << "-o" << "#{k}=#{v}"
|
127
|
+
- end
|
128
|
+
- autossh_args << "#{ssh_info[:username]}@#{ssh_info[:host]}"
|
129
|
+
- autossh_args << environment_variables
|
130
|
+
+ class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
|
131
|
+
+ def self.create_logger
|
132
|
+
+ Log4r::Logger.new("vagrant::hosts::bsd")
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
136
|
+
diff -r 015f2d2d5173 lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb
|
137
|
+
--- a/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb Tue Jan 12 18:20:49 2016 -0800
|
138
|
+
+++ b/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb Tue Jan 12 18:29:09 2016 -0800
|
139
|
+
@@ -12,35 +12,32 @@
|
140
|
+
module HostCommon
|
141
|
+
module Cap
|
142
|
+
class SSHTunnel
|
143
|
+
- def self.create_logger
|
144
|
+
- Log4r::Logger.new("vagrant::hosts::common")
|
145
|
+
- end
|
146
|
+
+ def self.start_ssh_tunnel(env, fp, env_hash)
|
147
|
+
+ logger = Log4r::Logger.new("vagrant::hosts::bsd")
|
148
|
+
+ port = {
|
149
|
+
+ adapter: fp.adapter,
|
150
|
+
+ guestip: fp.guest_ip,
|
151
|
+
+ guestport: fp.guest_port,
|
152
|
+
+ hostip: fp.host_ip,
|
153
|
+
+ hostport: fp.host_port,
|
154
|
+
+ name: fp.id,
|
155
|
+
+ protocol: fp.protocol
|
156
|
+
+ }
|
157
|
+
|
158
|
+
- # called per port by ForwardPorts
|
159
|
+
- def self.start_ssh_tunnel(env, fp, env_hash)
|
160
|
+
- logger = create_logger
|
161
|
+
- machine = env_hash[:machine]
|
162
|
+
- pid = read_pid(File.join(machine.data_dir, pidfile_name(fp)))
|
163
|
+
+ pidfile = pidfile_name(port, env_hash)
|
164
|
+
+ pid = read_pid(pidfile)
|
165
|
+
if pid && autossh_pid?(pid)
|
166
|
+
logger.info("An autossh process already exists with pid #{pid}.")
|
167
|
+
else
|
168
|
+
- args = autossh_args(fp, pidfile, env_hash)
|
169
|
+
+ args = autossh_args(port, pidfile, env_hash)
|
170
|
+
Vagrant::Util::Subprocess.execute("autossh", *args)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
- # called for machine by ClearForwardedPorts
|
175
|
+
- def self.kill_forwarded_ports(env, env_hash)
|
176
|
+
- get_pidfiles_for_machine(env_hash[:machine]).each do |pidfile|
|
177
|
+
- kill_ssh_tunnel(env, pidfile, env_hash)
|
178
|
+
- end
|
179
|
+
- end
|
180
|
+
-
|
181
|
+
- # exposed but not called currently from any action
|
182
|
+
def self.kill_ssh_tunnel(env, pidfile, env_hash)
|
183
|
+
- logger = create_logger
|
184
|
+
- machine = env_hash[:machine]
|
185
|
+
- pid = read_pid(File.join(machine.data_dir, pidfile))
|
186
|
+
+ logger = Log4r::Logger.new("vagrant::hosts::bsd")
|
187
|
+
+ pidfile = File.join(env_hash[:machine].data_dir, pidfile)
|
188
|
+
+ pid = read_pid(pidfile)
|
189
|
+
if pid && autossh_pid?(pid)
|
190
|
+
Vagrant::Util::Subprocess.execute("kill", pid.to_s)
|
191
|
+
else
|
192
|
+
@@ -49,26 +46,17 @@
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
- ####################################
|
197
|
+
+ private
|
198
|
+
|
199
|
+
- def self.pidfile_name(fp)
|
200
|
+
- "#{fp[:host_ip]}.pid"
|
201
|
+
+ def self.pidfile_name(port, env_hash)
|
202
|
+
+ tunnel_name = [port[:hostip], port[:name]].compact.join('_')
|
203
|
+
+ File.join(env_hash[:machine].data_dir, "#{tunnel_name}.pid")
|
204
|
+
end
|
205
|
+
|
206
|
+
- def self.read_pid(pidfile_path)
|
207
|
+
- File.read(pidfile_path).presence.try(:to_i) if File.exist?(pidfile_path)
|
208
|
+
+ def self.read_pid(pidfile)
|
209
|
+
+ File.read(pidfile).presence.try(:to_i) if File.exist?(pidfile)
|
210
|
+
end
|
211
|
+
|
212
|
+
- def self.get_pidfiles_for_machine(machine)
|
213
|
+
- pidfiles = []
|
214
|
+
- Vagrant::Util::SafeChdir.safe_chdir(machine.data_dir) do
|
215
|
+
- pidfiles = Dir.glob("*.pid")
|
216
|
+
- end
|
217
|
+
- pidfiles
|
218
|
+
- end
|
219
|
+
-
|
220
|
+
- ####################################
|
221
|
+
-
|
222
|
+
# Checks that the pid is actually an autossh process (and not
|
223
|
+
# something else using a recycled pid).
|
224
|
+
def self.autossh_pid?(pid)
|
225
|
+
@@ -77,16 +65,15 @@
|
226
|
+
end
|
227
|
+
|
228
|
+
# Get the command, minus any arguments, for the given
|
229
|
+
- # pid. This probably needs to be overridden per host cap
|
230
|
+
+ # pid. I don't expect this to be compatible cross-platform yet...
|
231
|
+
+ # This could be complicated cross-platform, and Sys::ProcTable
|
232
|
+
+ # could likewise be complicated cross-platform ...
|
233
|
+
def self.get_comm_for_pid(pid)
|
234
|
+
result = Vagrant::Util::Subprocess.execute("ps", "-p", pid.to_s, "-o", "comm")
|
235
|
+
result.stdout.split("\n").last
|
236
|
+
end
|
237
|
+
|
238
|
+
- ####################################
|
239
|
+
-
|
240
|
+
- def self.autossh_args(fp, pidfile, env_hash)
|
241
|
+
- machine = env_hash[:machine]
|
242
|
+
+ def self.autossh_args(port, pidfile, env_hash)
|
243
|
+
ssh_info = env_hash[:machine_ssh_info]
|
244
|
+
ssh_options = {
|
245
|
+
"ServerAliveInterval" => 10,
|
246
|
+
@@ -96,16 +83,22 @@
|
247
|
+
environment_variables = {
|
248
|
+
env: {
|
249
|
+
"AUTOSSH_PIDFILE" => pidfile,
|
250
|
+
- "AUTOSSH_PORT" => 0, # turn off monitoring
|
251
|
+
+ "AUTOSSH_PORT" => 0, # turns off monitoring
|
252
|
+
+ #"AUTOSSH_LOGFILE" => "./autossh.log",
|
253
|
+
}
|
254
|
+
}
|
255
|
+
+ forward_string = [
|
256
|
+
+ port[:hostport],
|
257
|
+
+ "localhost",
|
258
|
+
+ port[:guestport]
|
259
|
+
+ ].join(':')
|
260
|
+
|
261
|
+
autossh_args = []
|
262
|
+
autossh_args << "-q"
|
263
|
+
autossh_args << "-N"
|
264
|
+
autossh_args << "-f"
|
265
|
+
- autossh_args << "-i" << machine.data_dir.join("private_key").to_s
|
266
|
+
- autossh_args << "-L" << "#{fp[:host_port]}:localhost:#{fp[:guest_port]}"
|
267
|
+
+ autossh_args << "-i" << env_hash[:machine].data_dir.join("private_key").to_s
|
268
|
+
+ autossh_args << "-L" << forward_string
|
269
|
+
ssh_options.each do |k, v|
|
270
|
+
autossh_args << "-o" << "#{k}=#{v}"
|
271
|
+
end
|
272
|
+
diff -r 015f2d2d5173 lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb
|
273
|
+
--- a/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb Tue Jan 12 18:20:49 2016 -0800
|
274
|
+
+++ b/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb Tue Jan 12 18:29:09 2016 -0800
|
275
|
+
@@ -1,109 +1,12 @@
|
276
|
+
-require "pathname"
|
277
|
+
-require "tmpdir"
|
278
|
+
-require 'childprocess'
|
279
|
+
-require "vagrant/util/subprocess"
|
280
|
+
-#require 'byebug'
|
281
|
+
-#require 'ap'
|
282
|
+
-require 'log4r'
|
283
|
+
-require "vagrant/util/safe_chdir"
|
284
|
+
+require "vagrant-skytap/hosts/common/cap/ssh_tunnel"
|
285
|
+
|
286
|
+
module VagrantPlugins
|
287
|
+
module Skytap
|
288
|
+
module HostLinux
|
289
|
+
module Cap
|
290
|
+
- class SSHTunnel
|
291
|
+
- def self.start_ssh_tunnel(env, fp, env_hash)
|
292
|
+
- logger = Log4r::Logger.new("vagrant::hosts::bsd")
|
293
|
+
- port = {
|
294
|
+
- adapter: fp.adapter,
|
295
|
+
- guestip: fp.guest_ip,
|
296
|
+
- guestport: fp.guest_port,
|
297
|
+
- hostip: fp.host_ip,
|
298
|
+
- hostport: fp.host_port,
|
299
|
+
- name: fp.id,
|
300
|
+
- protocol: fp.protocol
|
301
|
+
- }
|
302
|
+
-
|
303
|
+
- pidfile = pidfile_name(port, env_hash)
|
304
|
+
- pid = read_pid(pidfile)
|
305
|
+
- if pid && autossh_pid?(pid)
|
306
|
+
- logger.info("An autossh process already exists with pid #{pid}.")
|
307
|
+
- else
|
308
|
+
- args = autossh_args(port, pidfile, env_hash)
|
309
|
+
- Vagrant::Util::Subprocess.execute("autossh", *args)
|
310
|
+
- end
|
311
|
+
- end
|
312
|
+
-
|
313
|
+
- def self.kill_ssh_tunnel(env, pidfile, env_hash)
|
314
|
+
- logger = Log4r::Logger.new("vagrant::hosts::bsd")
|
315
|
+
- pidfile = File.join(env_hash[:machine].data_dir, pidfile)
|
316
|
+
- pid = read_pid(pidfile)
|
317
|
+
- if pid && autossh_pid?(pid)
|
318
|
+
- Vagrant::Util::Subprocess.execute("kill", pid.to_s)
|
319
|
+
- else
|
320
|
+
- logger.info("Cleaning up stale autossh pidfile #{pidfile}.")
|
321
|
+
- Vagrant::Util::Subprocess.execute("rm", pidfile)
|
322
|
+
- end
|
323
|
+
- end
|
324
|
+
-
|
325
|
+
- private
|
326
|
+
-
|
327
|
+
- def self.pidfile_name(port, env_hash)
|
328
|
+
- tunnel_name = [port[:hostip], port[:name]].compact.join('_')
|
329
|
+
- File.join(env_hash[:machine].data_dir, "#{tunnel_name}.pid")
|
330
|
+
- end
|
331
|
+
-
|
332
|
+
- def self.read_pid(pidfile)
|
333
|
+
- File.read(pidfile).presence.try(:to_i) if File.exist?(pidfile)
|
334
|
+
- end
|
335
|
+
-
|
336
|
+
- # Checks that the pid is actually an autossh process (and not
|
337
|
+
- # something else using a recycled pid).
|
338
|
+
- def self.autossh_pid?(pid)
|
339
|
+
- # get_comm_for_pid(pid) == 'autossh'
|
340
|
+
- true
|
341
|
+
- end
|
342
|
+
-
|
343
|
+
- # Get the command, minus any arguments, for the given
|
344
|
+
- # pid. I don't expect this to be compatible cross-platform yet...
|
345
|
+
- # This could be complicated cross-platform, and Sys::ProcTable
|
346
|
+
- # could likewise be complicated cross-platform ...
|
347
|
+
- def self.get_comm_for_pid(pid)
|
348
|
+
- result = Vagrant::Util::Subprocess.execute("ps", "-p", pid.to_s, "-o", "comm")
|
349
|
+
- result.stdout.split("\n").last
|
350
|
+
- end
|
351
|
+
-
|
352
|
+
- def self.autossh_args(port, pidfile, env_hash)
|
353
|
+
- ssh_info = env_hash[:machine_ssh_info]
|
354
|
+
- ssh_options = {
|
355
|
+
- "ServerAliveInterval" => 10,
|
356
|
+
- "ServerAliveCountMax" => 3,
|
357
|
+
- "StrictHostKeyChecking" => "no",
|
358
|
+
- }
|
359
|
+
- environment_variables = {
|
360
|
+
- env: {
|
361
|
+
- "AUTOSSH_PIDFILE" => pidfile,
|
362
|
+
- "AUTOSSH_PORT" => 0, # turns off monitoring
|
363
|
+
- #"AUTOSSH_LOGFILE" => "./autossh.log",
|
364
|
+
- }
|
365
|
+
- }
|
366
|
+
- forward_string = [
|
367
|
+
- port[:hostport],
|
368
|
+
- "localhost",
|
369
|
+
- port[:guestport]
|
370
|
+
- ].join(':')
|
371
|
+
-
|
372
|
+
- autossh_args = []
|
373
|
+
- autossh_args << "-q"
|
374
|
+
- autossh_args << "-N"
|
375
|
+
- autossh_args << "-f"
|
376
|
+
- autossh_args << "-i" << env_hash[:machine].data_dir.join("private_key").to_s
|
377
|
+
- autossh_args << "-L" << forward_string
|
378
|
+
- ssh_options.each do |k, v|
|
379
|
+
- autossh_args << "-o" << "#{k}=#{v}"
|
380
|
+
- end
|
381
|
+
- autossh_args << "#{ssh_info[:username]}@#{ssh_info[:host]}"
|
382
|
+
- autossh_args << environment_variables
|
383
|
+
+ class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
|
384
|
+
+ def self.create_logger
|
385
|
+
+ Log4r::Logger.new("vagrant::hosts::linux")
|
386
|
+
end
|
387
|
+
end
|
388
|
+
end
|
data/_patches-20160112/1
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
# HG changeset patch
|
2
|
+
# Parent 52eca9fb4e0ee45e8dd01b28163ac10c5d298015
|
3
|
+
diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/action/forward_ports.rb
|
4
|
+
--- a/lib/vagrant-skytap/action/forward_ports.rb Tue Jan 12 14:34:08 2016 -0800
|
5
|
+
+++ b/lib/vagrant-skytap/action/forward_ports.rb Tue Jan 12 18:17:33 2016 -0800
|
6
|
+
@@ -1,5 +1,5 @@
|
7
|
+
require 'vagrant-skytap/util/compile_forwarded_ports'
|
8
|
+
-#require 'byebug'
|
9
|
+
+require 'byebug'
|
10
|
+
|
11
|
+
module VagrantPlugins
|
12
|
+
module Skytap
|
13
|
+
@@ -9,11 +9,12 @@
|
14
|
+
|
15
|
+
def initialize(app, env)
|
16
|
+
@app = app
|
17
|
+
+ @env = env
|
18
|
+
end
|
19
|
+
|
20
|
+
def call(env)
|
21
|
+
- @env = env
|
22
|
+
- env[:forwarded_ports] ||= compile_forwarded_ports(env[:machine].config)
|
23
|
+
+ debugger
|
24
|
+
+ @env[:forwarded_ports] ||= compile_forwarded_ports(env[:machine].config)
|
25
|
+
|
26
|
+
env[:forwarded_ports].each do |fp|
|
27
|
+
if fp.host_port <= 1024
|
28
|
+
diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb
|
29
|
+
--- a/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb Tue Jan 12 14:34:08 2016 -0800
|
30
|
+
+++ b/lib/vagrant-skytap/hosts/bsd/cap/ssh_tunnel.rb Tue Jan 12 18:17:33 2016 -0800
|
31
|
+
@@ -4,7 +4,7 @@
|
32
|
+
module Skytap
|
33
|
+
module HostBSD
|
34
|
+
module Cap
|
35
|
+
- class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
|
36
|
+
+ class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
|
37
|
+
def self.create_logger
|
38
|
+
Log4r::Logger.new("vagrant::hosts::bsd")
|
39
|
+
end
|
40
|
+
diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb
|
41
|
+
--- a/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb Tue Jan 12 14:34:08 2016 -0800
|
42
|
+
+++ b/lib/vagrant-skytap/hosts/common/cap/ssh_tunnel.rb Tue Jan 12 18:17:33 2016 -0800
|
43
|
+
@@ -21,6 +21,7 @@
|
44
|
+
logger = create_logger
|
45
|
+
machine = env_hash[:machine]
|
46
|
+
pid = read_pid(File.join(machine.data_dir, pidfile_name(fp)))
|
47
|
+
+ debugger
|
48
|
+
if pid && autossh_pid?(pid)
|
49
|
+
logger.info("An autossh process already exists with pid #{pid}.")
|
50
|
+
else
|
51
|
+
@@ -41,6 +42,7 @@
|
52
|
+
logger = create_logger
|
53
|
+
machine = env_hash[:machine]
|
54
|
+
pid = read_pid(File.join(machine.data_dir, pidfile))
|
55
|
+
+ debugger
|
56
|
+
if pid && autossh_pid?(pid)
|
57
|
+
Vagrant::Util::Subprocess.execute("kill", pid.to_s)
|
58
|
+
else
|
59
|
+
diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb
|
60
|
+
--- a/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb Tue Jan 12 14:34:08 2016 -0800
|
61
|
+
+++ b/lib/vagrant-skytap/hosts/linux/cap/ssh_tunnel.rb Tue Jan 12 18:17:33 2016 -0800
|
62
|
+
@@ -4,7 +4,7 @@
|
63
|
+
module Skytap
|
64
|
+
module HostLinux
|
65
|
+
module Cap
|
66
|
+
- class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
|
67
|
+
+ class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
|
68
|
+
def self.create_logger
|
69
|
+
Log4r::Logger.new("vagrant::hosts::linux")
|
70
|
+
end
|
71
|
+
diff -r 52eca9fb4e0e -r f28264f2e998 lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb
|
72
|
+
--- a/lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb Tue Jan 12 14:34:08 2016 -0800
|
73
|
+
+++ b/lib/vagrant-skytap/hosts/windows/cap/ssh_tunnel.rb Tue Jan 12 18:17:33 2016 -0800
|
74
|
+
@@ -4,7 +4,7 @@
|
75
|
+
module Skytap
|
76
|
+
module HostWindows
|
77
|
+
module Cap
|
78
|
+
- class SSHTunnel < VagrantPlugins::Skytap::Common::Cap::SSHTunnel
|
79
|
+
+ class SSHTunnel < VagrantPlugins::Skytap::HostCommon::Cap::SSHTunnel
|
80
|
+
def self.create_logger
|
81
|
+
Log4r::Logger.new("vagrant::hosts::windows")
|
82
|
+
end
|