beaker-vagrant 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/beaker-vagrant/version.rb +1 -1
- data/lib/beaker/hypervisor/vagrant.rb +3 -1
- data/spec/beaker/hypervisor/vagrant_spec.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93a9b37ab076dd6a9f96004ac770392207eb44716d0982e6b2e75ffbc0b50cde
|
4
|
+
data.tar.gz: dfa41a6583033d37700edecdfcb7b4bbe0bb436bdd0530ac8bdf3d36067a156e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb3a8b395078572279174074bc7d99b1da50f3a1d69853e0ba5b9a2cccb4c76398b5320fb907e3684980d7a7b55877402c4fc2aa8839b02057ee7fa2ffea3267
|
7
|
+
data.tar.gz: 99c44d83a570b5c71a61904fb62dfa7017af1ed7b01126543829e548c078a3c51c12ba170db84c2dc343f382e7a277949be9c77334bb60313274b1621b77a2cf
|
@@ -201,7 +201,9 @@ module Beaker
|
|
201
201
|
|
202
202
|
f.write(ssh_config)
|
203
203
|
f.rewind
|
204
|
-
|
204
|
+
|
205
|
+
host[:vagrant_ssh_config] = f.path
|
206
|
+
host['ssh'] = host['ssh'].merge(Net::SSH.configuration_for(host['ip'], f.path))
|
205
207
|
host['user'] = user
|
206
208
|
@temp_files << f
|
207
209
|
end
|
@@ -484,7 +484,8 @@ EOF
|
|
484
484
|
expect( file ).to receive( :write ).with("Host ip.address.for.#{name}\n HostName 127.0.0.1\n User root\n Port 2222\n UserKnownHostsFile /dev/null\n StrictHostKeyChecking no\n PasswordAuthentication no\n IdentityFile /home/root/.vagrant.d/insecure_private_key\n IdentitiesOnly no")
|
485
485
|
|
486
486
|
vagrant.set_ssh_config( host, 'root' )
|
487
|
-
expect( host[
|
487
|
+
expect( host[:vagrant_ssh_config] ).to be === '/path/sshconfig'
|
488
|
+
expect( host['ssh'][:config]).to be === false
|
488
489
|
expect( host['user']).to be === 'root'
|
489
490
|
end
|
490
491
|
|
@@ -498,7 +499,8 @@ EOF
|
|
498
499
|
expect( file ).to receive( :write ).with("Host ip.address.for.#{name}\n HostName 127.0.0.1\n User root\n Port 2222\n UserKnownHostsFile /dev/null\n StrictHostKeyChecking no\n PasswordAuthentication no\n IdentityFile /home/root/.vagrant.d/insecure_private_key\n IdentitiesOnly yes")
|
499
500
|
|
500
501
|
vagrant.set_ssh_config( host, 'root' )
|
501
|
-
expect( host[
|
502
|
+
expect( host[:vagrant_ssh_config] ).to be === '/path/sshconfig'
|
503
|
+
expect( host['ssh'][:config]).to be === false
|
502
504
|
expect( host['user']).to be === 'root'
|
503
505
|
end
|
504
506
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-vagrant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rishi Javia, Kevin Imber, Tony Vu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|