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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4a6b7fd05dbad3dad572da7c2dcb0b6331d99759360ee6f13190dd663e4cb0c
4
- data.tar.gz: 522a13a0e13bbbe36c0f789f9e1583f92cb09fddbe79c435c2b5d48c9b779c26
3
+ metadata.gz: 93a9b37ab076dd6a9f96004ac770392207eb44716d0982e6b2e75ffbc0b50cde
4
+ data.tar.gz: dfa41a6583033d37700edecdfcb7b4bbe0bb436bdd0530ac8bdf3d36067a156e
5
5
  SHA512:
6
- metadata.gz: 41f1d7d61261464c2a1fafff23cc69c27cc8f7257ff6fd7f387cf4227e0e66fd3227c8ac56f0c7c7275c2dab409a9e1e635acd83f2a62b3554f97dbd0dc58741
7
- data.tar.gz: bd51b818aea92e155e2c444d15d1db7e5423c09ad7ac667c4d92380438f5bcfc665cc2310e7ddd9abded88c45428ab512b609ed557ba0f638e1e49ba787fec37
6
+ metadata.gz: bb3a8b395078572279174074bc7d99b1da50f3a1d69853e0ba5b9a2cccb4c76398b5320fb907e3684980d7a7b55877402c4fc2aa8839b02057ee7fa2ffea3267
7
+ data.tar.gz: 99c44d83a570b5c71a61904fb62dfa7017af1ed7b01126543829e548c078a3c51c12ba170db84c2dc343f382e7a277949be9c77334bb60313274b1621b77a2cf
@@ -1,3 +1,3 @@
1
1
  module BeakerVagrant
2
- VERSION = '0.6.5'
2
+ VERSION = '0.6.6'
3
3
  end
@@ -201,7 +201,9 @@ module Beaker
201
201
 
202
202
  f.write(ssh_config)
203
203
  f.rewind
204
- host['ssh'] = {:config => f.path()}
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['ssh'] ).to be === { :config => file.path }
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['ssh'] ).to be === { :config => file.path }
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.5
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-10 00:00:00.000000000 Z
11
+ date: 2020-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec