beaker 4.19.0 → 4.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a1ffd36126ef1c3aa4bc3fc1ad93dab786f7c8a67bc01749020e063c0d6642b
4
- data.tar.gz: b4c320f7acf05904d85b899b1d7ea6e51a6097b5dae317eec0f3c4a6df533ac3
3
+ metadata.gz: 3e5c263e1126d9ce16c4cef1e66654ac95430e2eb34b96e8fd172622995b2f64
4
+ data.tar.gz: a28639cfe3220506de7a8a1a05ab86e1a6e9595a561a2bc7a640281b1d64ed67
5
5
  SHA512:
6
- metadata.gz: d9ba01bffcfe9cfe356ff06bc294d32d248283b01e943139582d346fe7566a5ed8b4fe5ae5715ff1de57253f20a44eba3c50649c9876f4399aaf000ef53d64ad
7
- data.tar.gz: b48a94b96ed04579fcb27842a69de75a70adf0c9fe93a5210b93a476321ce9139e4d3cb4bf9376f8708e6fd9f170bc83f863c0381a13a393b97d34c35ac37d89
6
+ metadata.gz: 20ef18122b339c7fc9c763799fb8c921d341e34cdd26ba2895014079bb687c82a08c73e0a9cdb2fa1887018ea7b89b4476f538bb6c9decc0966a8fbe6062b590
7
+ data.tar.gz: 3d338288fe6b2f627312f7623801e6d5d3914a63e0cea15a2cf61cfa16860068dfb37767941ded909c660173c6b0623419dfc2c5134ba5cd92dc84687d7571ac
@@ -20,7 +20,13 @@ The headers used in [Keep a Changelog](http://keepachangelog.com) are:
20
20
  - Fixed - for any bug fixes.
21
21
  - Security - in case of vulnerabilities.
22
22
 
23
- # [Unreleased](https://github.com/puppetlabs/beaker/compare/4.19.0...master)
23
+ # [Unreleased](https://github.com/puppetlabs/beaker/compare/4.20.0...master)
24
+
25
+ # [4.20.0](https://github.com/puppetlabs/beaker/compare/4.19.0...4.20.0)
26
+
27
+ ### Added
28
+
29
+ - Vagrant RSync/SSH settings will now be picked up if set via beaker-vagrant ([#1634)[https://github.com/puppetlabs/beaker/pull/1634]] and beaker-vagrant [#28](https://github.com/puppetlabs/beaker-vagrant/pull/28))
24
30
 
25
31
  # [4.19.0](https://github.com/puppetlabs/beaker/compare/4.18.0...4.19.0)
26
32
 
@@ -547,8 +547,17 @@ module Beaker
547
547
 
548
548
  # vagrant uses temporary ssh configs in order to use dynamic keys
549
549
  # without this config option using ssh may prompt for password
550
- if ssh_opts[:config] and File.exists?(ssh_opts[:config])
551
- ssh_args << "-F #{ssh_opts[:config]}"
550
+ #
551
+ # We still want any user-set SSH config to win though
552
+ filesystem_ssh_config = nil
553
+ if ssh_opts[:config] && File.exists?(ssh_opts[:config])
554
+ filesystem_ssh_config = ssh_opts[:config]
555
+ elsif self[:vagrant_ssh_config] && File.exists?(self[:vagrant_ssh_config])
556
+ filesystem_ssh_config = self[:vagrant_ssh_config]
557
+ end
558
+
559
+ if filesystem_ssh_config
560
+ ssh_args << "-F #{filesystem_ssh_config}"
552
561
  else
553
562
  if ssh_opts.has_key?('keys') and
554
563
  ssh_opts.has_key?('auth_methods') and
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module Version
3
- STRING = '4.19.0'
3
+ STRING = '4.20.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.19.0
4
+ version: 4.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-12 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