beaker 4.28.1 → 4.31.0

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: 2503ed24d90847be18c7fd19b77a560ccc36adfc62c0d05c572db54ae459ac9d
4
- data.tar.gz: e1a48af6ec7c6a987e68fef2e2d8d66938ea6a0386261e055a3f44f152bf593d
3
+ metadata.gz: b1c9332a588693ee68e7d23ab33618e03dc821c5fafe130681da0e633d8de070
4
+ data.tar.gz: 2c8d856681a73e3e4c86d2f7074db0422da755ea259ab473d5cb69a275785bde
5
5
  SHA512:
6
- metadata.gz: 70a874fb028a529662d75b41aed961799d24c9f1e2f4ecc787526f14fdb2171841decdbcc0949a703a5f6740a97265468e563420e532bf8ae57c6eb217d98e47
7
- data.tar.gz: 2f59f3355f90fb02c0ced17550d7acb70075a6e604b4dfb53c616c312d630df3bcce87d5036eef45f44cc0ee5b2bf31974d4e53b37ba975735420bc6ca77ca97
6
+ metadata.gz: ad55fa6ff69dbeed8a620b16863e8b47bccd562bc522f1b56faa501f7459811844e095e171dfc3de3df0cbaf5b255ff9d2c84dbf90d30d1cc647ee2b02478c47
7
+ data.tar.gz: 4570f73a4b9aafe67c7de5a20bd93e221ae6f8e5ff4881de3c3e6227576d68ea9a7297cf1a34eda4a7d46654ea5d159d1a2fc4459e9f752b91268870fd0a6da5
@@ -7,16 +7,25 @@ on:
7
7
  jobs:
8
8
  release:
9
9
  runs-on: ubuntu-latest
10
- if: github.repository == 'voxpupuli/beaker'
10
+ if: github.repository_owner == 'voxpupuli'
11
11
  steps:
12
12
  - uses: actions/checkout@v2
13
- - name: Install Ruby 2.7
13
+ - name: Install Ruby 3.0
14
14
  uses: ruby/setup-ruby@v1
15
15
  with:
16
- ruby-version: '2.7'
16
+ ruby-version: '3.0'
17
+ env:
18
+ BUNDLE_WITHOUT: release
17
19
  - name: Build gem
18
20
  run: gem build *.gemspec
19
- - name: Publish gem
21
+ - name: Publish gem to rubygems.org
20
22
  run: gem push *.gem
21
23
  env:
22
24
  GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
25
+ - name: Setup GitHub packages access
26
+ run: |
27
+ mkdir -p ~/.gem
28
+ echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials
29
+ chmod 0600 ~/.gem/credentials
30
+ - name: Publish gem to GitHub packages
31
+ run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
@@ -4,18 +4,24 @@ on:
4
4
  - pull_request
5
5
  - push
6
6
 
7
+ env:
8
+ BUNDLE_WITHOUT: release
9
+
7
10
  jobs:
8
11
  test:
9
12
  runs-on: ubuntu-latest
10
13
  strategy:
11
14
  fail-fast: false
12
15
  matrix:
13
- ruby:
14
- - "2.4"
15
- - "2.5"
16
- - "2.6"
17
- - "2.7"
18
- name: Ruby ${{ matrix.ruby }}
16
+ include:
17
+ - ruby: "2.4"
18
+ - ruby: "2.5"
19
+ - ruby: "2.6"
20
+ - ruby: "2.7"
21
+ - ruby: "3.0"
22
+ coverage: "yes"
23
+ env:
24
+ COVERAGE: ${{ matrix.coverage }}
19
25
  steps:
20
26
  - uses: actions/checkout@v2
21
27
  - name: Install Ruby ${{ matrix.ruby }}
@@ -23,7 +29,5 @@ jobs:
23
29
  with:
24
30
  ruby-version: ${{ matrix.ruby }}
25
31
  bundler-cache: true
26
- - name: Build docs
27
- run: bundle exec rake yard
28
32
  - name: Run tests
29
33
  run: bundle exec rake spec
data/CHANGELOG.md CHANGED
@@ -1,24 +1,32 @@
1
- # Change Log
1
+ # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file.
3
+ ## [4.30.0](https://github.com/voxpupuli/beaker/compare/4.29.1...4.30.0) (2021-07-21)
4
4
 
5
- The format is based on
6
- [Keep a Changelog](http://keepachangelog.com)
7
- & makes a strong effort to adhere to
8
- [Semantic Versioning](http://semver.org).
5
+ ### Fixed
6
+
7
+ - Fix Platform version string comparison for install_local_package ([#1712](https://github.com/voxpupuli/beaker/pull/1712))
8
+
9
+ ### Added
9
10
 
10
- Tracking in this Changelog began for this project in version 3.25.0.
11
- If you're looking for changes from before this, refer to the project's
12
- git logs & PR history.
11
+ - Add initial opensuse support ([#1697](https://github.com/voxpupuli/beaker/pull/1697))
12
+ - Implement codecov reporting ([#1710](https://github.com/voxpupuli/beaker/pull/1710))
13
13
 
14
- The headers used in [Keep a Changelog](http://keepachangelog.com) are:
14
+ ### Changed
15
+
16
+ - beaker-abs: allow latest releases ([#1706](https://github.com/voxpupuli/beaker/pull/1706))
17
+ - Align release setup with other gems ([#1707](https://github.com/voxpupuli/beaker/pull/1707))
15
18
 
16
- - Added - for new features.
17
- - Changed - for changes in existing functionality.
18
- - Deprecated - for soon-to-be removed features.
19
- - Removed - for now removed features.
20
- - Fixed - for any bug fixes.
21
- - Security - in case of vulnerabilities.
19
+ ## [4.29.1](https://github.com/voxpupuli/beaker/tree/4.29.1) (2021-05-26)
20
+
21
+ ### Fixed
22
+
23
+ - Fixed `vagrant*` matching in the unix `get_ip()`
24
+
25
+ # [4.29.0](https://github.com/voxpupuli/beaker/compare/4.28.1...4.29.0) - 19-05-2021
26
+
27
+ ### Added
28
+
29
+ - Ruby 3.0 support
22
30
 
23
31
  # [4.28.1](https://github.com/voxpupuli/beaker/compare/4.28.0...4.28.1) - 03-10-2021
24
32
 
@@ -484,3 +492,6 @@ The headers used in [Keep a Changelog](http://keepachangelog.com) are:
484
492
 
485
493
  # [3.25.0](https://github.com/voxpupuli/beaker/compare/3.24.0...3.25.0) - 2017-09-26
486
494
 
495
+
496
+
497
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
- source ENV['GEM_SOURCE'] || "https://rubygems.org"
1
+ source ENV['GEM_SOURCE'] || 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
4
+ gem 'irb'
5
5
  # This section of the gemspec is for Puppet CI; it will pull in
6
6
  # a supported beaker library for testing to overwrite the gemspec if
7
7
  # a corresponding ENV var is found. Currently, the only supported lib
@@ -19,3 +19,12 @@ if ENV['BEAKER_PE_PR_REPO_URL']
19
19
  ref = ENV['BEAKER_PE_PR_COMMIT']
20
20
  gem lib, :git => "git@github.com:#{author}/#{lib}.git", :branch => ref
21
21
  end
22
+
23
+ group :release do
24
+ gem 'github_changelog_generator', git: 'git@github.com:github-changelog-generator/github-changelog-generator.git', branch: 'master', require: false
25
+ end
26
+
27
+ group :coverage, optional: ENV['COVERAGE']!='yes' do
28
+ gem 'simplecov-console', :require => false
29
+ gem 'codecov', :require => false
30
+ end
data/HISTORY.md ADDED
@@ -0,0 +1,492 @@
1
+ ## [4.30.0](https://github.com/voxpupuli/beaker/compare/4.29.1...4.30.0) (2021-07-21)
2
+
3
+ ### Fixed
4
+
5
+ - Fix Platform version string comparison for install_local_package ([#1712](https://github.com/voxpupuli/beaker/pull/1712))
6
+
7
+ ### Added
8
+
9
+ - Add initial opensuse support ([#1697](https://github.com/voxpupuli/beaker/pull/1697))
10
+ - Implement codecov reporting ([#1710](https://github.com/voxpupuli/beaker/pull/1710))
11
+
12
+ ### Changed
13
+
14
+ - beaker-abs: allow latest releases ([#1706](https://github.com/voxpupuli/beaker/pull/1706))
15
+ - Align release setup with other gems ([#1707](https://github.com/voxpupuli/beaker/pull/1707))
16
+
17
+ ## [4.29.1](https://github.com/voxpupuli/beaker/tree/4.29.1) (2021-05-26)
18
+
19
+ ### Fixed
20
+
21
+ - Fixed `vagrant*` matching in the unix `get_ip()`
22
+
23
+ # [4.29.0](https://github.com/voxpupuli/beaker/compare/4.28.1...4.29.0) - 19-05-2021
24
+
25
+ ### Added
26
+
27
+ - Ruby 3.0 support
28
+
29
+ # [4.28.1](https://github.com/voxpupuli/beaker/compare/4.28.0...4.28.1) - 03-10-2021
30
+
31
+ ### Fixed
32
+
33
+ - Updated the ssh_preference example
34
+ - Fixed various spec tests
35
+ - Updated the `which` command to try `type -P` before falling back to `which`
36
+ for systems that may not have `which` installed
37
+
38
+ # [4.28.0](https://github.com/voxpupuli/beaker/compare/4.27.1...4.28.0) - 12-21-2020
39
+
40
+ ### Changed
41
+
42
+ - Arch Linux: Update box before installing packages ([#1688](https://github.com/voxpupuli/beaker/pull/1688))
43
+ - Move the entire workflow to Github Actions ([#1678](https://github.com/voxpupuli/beaker/pull/1678))
44
+ - Allow fakefs dependency in version >= 1 < 2 ([#1687](https://github.com/voxpupuli/beaker/pull/1687))
45
+
46
+ ### Fixed
47
+
48
+ - Fix License text and SPDX code ([#1681](https://github.com/voxpupuli/beaker/pull/1678))
49
+
50
+ # [4.27.1](https://github.com/voxpupuli/beaker/compare/4.27.0...4.27.1) - 09-29-2020
51
+
52
+ ### Changed
53
+
54
+ - Update net-scp requirement from "~> 1.2" to ">= 1.2, < 4.0"
55
+
56
+ ### Fixed
57
+
58
+ - Handle systems going back in time after reboot
59
+ - Enhanced error handling during the reboot sequence
60
+ - Fixed time check logic during reboot
61
+ - Wrap paths around "" on pswindows
62
+
63
+ # [4.27.0](https://github.com/voxpupuli/beaker/compare/4.26.0...4.27.0) - 07-24-2020
64
+
65
+ ### Changed
66
+
67
+ - Updated dependency versions and minimum Ruby version in gemspec to Ruby 2.4, which is the minimum
68
+ version Beaker will run with.
69
+ - Added Travis unit testing and disabled Jenkins integrations in preparation for transferring the
70
+ repo to Vox Pupuli
71
+
72
+
73
+ # [4.26.0](https://github.com/voxpupuli/beaker/compare/4.25.0...4.26.0)
74
+
75
+ ### Changed
76
+
77
+ - Fixed deprecated SSH option handling for `verify_ssh_key` being passed into Net::SSH. #1655
78
+
79
+ ### Removed
80
+
81
+ - Removed deprecated use of `paranoid` flag with Net::SSH. #1655
82
+
83
+ # [4.25.0](https://github.com/voxpupuli/beaker/compare/4.24.0...4.25.0)
84
+
85
+ ### Added
86
+
87
+ - Execution of Beaker directly through ruby on localhost #1637 ([#1637](https://github.com/voxpupuli/beaker/pull/1637))
88
+
89
+ ### Fixed
90
+
91
+ - Reliability improvements to the `Host#reboot` method ([#1656](https://github.com/voxpupuli/beaker/pull/1656)) ([#1659](https://github.com/voxpupuli/beaker/pull/1659))
92
+
93
+ # [4.24.0](https://github.com/voxpupuli/beaker/compare/4.23.0...4.24.0) - 2020-06-05
94
+
95
+ ### Added
96
+
97
+ - Host method which ([#1651](https://github.com/voxpupuli/beaker/pull/1651))
98
+
99
+ ### Fixed
100
+
101
+ - Fixed implementation for cat and file_exists? host methods for PSWindows ([#1654](https://github.com/voxpupuli/beaker/pull/1654))
102
+ - Fixed implementation for mkdir_p host method for PSWindows ([#1657](https://github.com/voxpupuli/beaker/pull/1657))
103
+
104
+ # [4.23.2](https://github.com/voxpupuli/beaker/compare/4.23.1...4.23.2)
105
+
106
+ ### Fixed
107
+
108
+ - Fixed Beaker's behavior when the `strict_host_key_checking` option is
109
+ provided in the SSH config and Net-SSH > 5 is specified. (#1652)
110
+
111
+ # [4.23.1](https://github.com/voxpupuli/beaker/compare/4.23.0...4.23.1)
112
+
113
+ ### Changed/Removed
114
+
115
+ - Reversed the quoting changes on Unix from #1644 in favor of only quoting on Windows. (#1650)
116
+
117
+ # [4.23.0](https://github.com/voxpupuli/beaker/compare/4.22.1...4.23.0)
118
+
119
+ ### Added
120
+
121
+ - Relaxed dependency on `net-ssh` to `>= 5` to support newer versions. (#1648)
122
+ - `cat` DSL method added. Works on both Unix and Windows hosts. (#1645)
123
+
124
+ ### Changed
125
+
126
+ - The `mkdir_p` and `mv` commands now double quote their file arguments. (#1644) If you rely on file globbing in these methods or elsewhere, please open an issue on the BEAKER project.
127
+ - Change `reboot` method to use `who -b` for uptime detection (#1643)
128
+
129
+ ### Fixed
130
+
131
+ - Use Base64 UTF-16LE encoding for commands (#1626)
132
+ - Fix `tmpdir` method for Powershell on Windows (#1645)
133
+
134
+ # [4.22.1](https://github.com/voxpupuli/beaker/compare/4.22.0...4.22.1)
135
+
136
+ ### Fixed
137
+
138
+ - Removed single quotes around paths for file operation commands on `Host` https://github.com/voxpupuli/beaker/pull/1642
139
+
140
+ # [4.22.0](https://github.com/voxpupuli/beaker/compare/4.21.0...4.22.0) - 2020-05-08
141
+
142
+ ### Added
143
+
144
+ - Host methods chmod and modified_at. ([#1638](https://github.com/voxpupuli/beaker/pull/1638))
145
+
146
+ ### Removed
147
+
148
+ - Support for EL-5. ([#1639](https://github.com/voxpupuli/beaker/pull/1639)) ([#1640](https://github.com/voxpupuli/beaker/pull/1640))
149
+
150
+ # [4.21.0](https://github.com/voxpupuli/beaker/compare/4.20.0...4.21.0) - 2020-03-31
151
+
152
+ ### Added
153
+
154
+ - Empty file `/etc/environment` while preparing ssh environment on Ubuntu 20.04 to keep the current behavior and consider all variables from `~/.ssh/environment`. ([#1635](https://github.com/voxpupuli/beaker/pull/1635))
155
+
156
+ # [4.20.0](https://github.com/voxpupuli/beaker/compare/4.19.0...4.20.0) - 2020-03-19
157
+
158
+ ### Added
159
+
160
+ - Vagrant RSync/SSH settings will now be picked up if set via beaker-vagrant ([#1634](https://github.com/voxpupuli/beaker/pull/1634) and [beaker-vagrant#28](https://github.com/voxpupuli/beaker-vagrant/pull/28))
161
+
162
+ # [4.19.0](https://github.com/voxpupuli/beaker/compare/4.18.0...4.19.0) - 2020-03-13
163
+
164
+ ### Added
165
+
166
+ - `apt-transport-https` package will now be installed on Debian-based systems as part of the prebuilt process. ([#1631](https://github.com/voxpupuli/beaker/pull/1631))
167
+ - Ubuntu 19.10 and 20.04 code name handling. ([#1632](https://github.com/voxpupuli/beaker/pull/1632))
168
+
169
+ ### Changed
170
+
171
+ - The `wait_time`, `max_connection_tries`, and `uptime_retries` parameters have been added to `Host::Unix::Exec.reboot`. This allows for more fine-grained control over how the reboot is handled. ([#1625](https://github.com/voxpupuli/beaker/pull/1625))
172
+
173
+ ### Fixed
174
+
175
+ - In `hosts.yml`, `packaging_platform` will now default to `platform` if unspecified. This fixed a bug where beaker would fail unless you specified both values in your config, even if both values were identical. ([#1628](https://github.com/voxpupuli/beaker/pull/1628))
176
+ - `version_is_less` will now correctly handle builds and RCs when used in version numbers. ([#1630](https://github.com/voxpupuli/beaker/pull/1630))
177
+
178
+ ### Security
179
+ - Update `rake` to `~> 12.0`, which currently resolves to `12.3.3` to remediate [CVE-2020-8130](https://nvd.nist.gov/vuln/detail/CVE-2020-8130)
180
+
181
+ # [4.18.0](https://github.com/voxpupuli/beaker/compare/4.17.0...4.18.0) - 2020-02-26
182
+ ### Changed
183
+ - Thor dependency bumped to >=1.0.1 <2.0
184
+
185
+ # [4.17.0](https://github.com/voxpupuli/beaker/compare/4.16.0...4.17.0) - 2020-02-20
186
+
187
+ ### Added
188
+
189
+ - Windows support in `host_helpers` ([#1622](https://github.com/voxpupuli/beaker/pull/1622))
190
+ - EL 8 support ([#1623](https://github.com/voxpupuli/beaker/pull/1623))
191
+
192
+ # [4.16.0](https://github.com/voxpupuli/beaker/compare/4.15.0...4.16.0) - 2020-02-05
193
+
194
+ ### Added
195
+
196
+ - release section to README ([#1618](https://github.com/voxpupuli/beaker/pull/1618))
197
+ - false return if `link_exists?` raises an error ([#1613](https://github.com/voxpupuli/beaker/pull/1613))
198
+
199
+ ### Fixed
200
+
201
+ - `host.reboot` uses `uptime` rather than `ping` to check host status ([#1619](https://github.com/voxpupuli/beaker/pull/1619))
202
+
203
+ # [4.15.0](https://github.com/voxpupuli/beaker/compare/4.14.1...4.15.0) - 2020-01-30
204
+
205
+ ### Added
206
+
207
+ - macOS 10.15 Catalina support (BKR-1621)
208
+
209
+ # [4.14.1](https://github.com/voxpupuli/beaker/compare/4.14.0...4.14.1) - 2019-11-18
210
+
211
+ ### Fixed
212
+
213
+ - `fips_mode?` detection (#1607)
214
+
215
+ # [4.14.0](https://github.com/voxpupuli/beaker/compare/4.13.1...4.14.0) - 2019-11-12
216
+
217
+ ### Added
218
+
219
+ - Pre-built steps output stacktraces when aborted (QENG-7466)
220
+
221
+ # [4.13.1](https://github.com/voxpupuli/beaker/compare/4.13.0...4.13.1) - 2019-10-07
222
+
223
+ ### Fixed
224
+
225
+ - Use correct platform variant for FIPS repo configs download (BKR-1616)
226
+
227
+ # [4.13.0](https://github.com/voxpupuli/beaker/compare/4.12.0...4.13.0) - 2019-09-16
228
+
229
+ ### Added
230
+
231
+ - Host `enable_remote_rsyslog` method (QENG-7466)
232
+
233
+ # [4.12.0](https://github.com/voxpupuli/beaker/compare/4.11.1...4.12.0) - 2019-08-14
234
+
235
+ ### Added
236
+
237
+ - redhatfips as a recognized platform (PE-27037)
238
+
239
+ # [4.11.1](https://github.com/voxpupuli/beaker/compare/4.11.0...4.11.1) - 2019-08-13
240
+
241
+ ### Changed
242
+
243
+ - `host.down?`'s wait from a fibonacci to a constant wait (BKR-1595)
244
+
245
+ # [4.11.0](https://github.com/voxpupuli/beaker/compare/4.10.0...4.11.0) - 2019-07-22
246
+
247
+ ### Added
248
+
249
+ - FIPS detection host method (BKR-1604)
250
+ - PassTest exception catching for standard reporting
251
+
252
+ # [4.10.0](https://github.com/voxpupuli/beaker/compare/4.9.0...4.10.0) - 2019-07-01
253
+
254
+ ### Added
255
+
256
+ - Down & Up Checking to Host#reboot (BKR-1595)
257
+
258
+ # [4.9.0](https://github.com/voxpupuli/beaker/compare/4.8.0...4.9.0) - 2019-06-19
259
+
260
+ ### Changed
261
+
262
+ - SSH Connection failure backoff shortened (BKR-1599)
263
+
264
+ # [4.8.0](https://github.com/voxpupuli/beaker/compare/4.7.0...4.8.0) - 2019-04-17
265
+
266
+ ### Added
267
+
268
+ - Support for Fedora >= 30 (BKR-1589)
269
+ - Codenames for Ubuntu 18.10, 19.04, and 19.10
270
+
271
+ ### Changed
272
+
273
+ - Remove "repos-pe" prefix for repo filenames
274
+
275
+ # [4.7.0](https://github.com/voxpupuli/beaker/compare/4.6.0...4.7.0) - 2019-04-17
276
+
277
+ ### Added
278
+
279
+ - Provide for OpenSSL 1.1.x+ support
280
+ - enable Solaris10Sparc pkgutil SSL CA2 (IMAGES-844)
281
+
282
+ ### Changed
283
+
284
+ - update pry-byebug dependency 3.4.2->3.6 (BKR-1568)
285
+ - disabling hostkey checks for cisco hosts (QENG-7108)
286
+ - Change behavior of ruby versioning to accept job-parameter RUBY\_VER
287
+ - Change subcommand pre-suite to install ruby 2.3.1
288
+
289
+ # [4.6.0](https://github.com/voxpupuli/beaker/compare/4.5.0...4.6.0) - 2019.03.07
290
+
291
+ ### Added
292
+
293
+ - Codename for Debian 10 'Buster'
294
+
295
+ # [4.5.0](https://github.com/voxpupuli/beaker/compare/4.4.0...4.5.0) - 2019.01.23
296
+
297
+ ### Changed
298
+
299
+ - Do not mirror profile.d on Debian (BKR-1559)
300
+
301
+ # [4.4.0](https://github.com/voxpupuli/beaker/compare/4.3.0...4.4.0) - 2019.01.09
302
+
303
+ ### Added
304
+
305
+ - Return root considerations for appending on nexus devices (BKR-1562)
306
+ - Permit user environment on osx-10.14 (BKR-1534)
307
+ - Add host helpers for working with files (BKR-1560)
308
+
309
+ ### Changed
310
+
311
+ - Replace ntpdate with crony on RHEL-8 (BKR-1555)
312
+
313
+ # [4.3.0](https://github.com/voxpupuli/beaker/compare/4.2.0...4.3.0) - 2018.12.12
314
+
315
+ ### Added
316
+
317
+ - Use zypper to install RPM packages on SLES (PA-2336)
318
+ - Add only-fails capability to beaker (BKR-1523)
319
+
320
+ # [4.2.0](https://github.com/voxpupuli/beaker/compare/4.1.0...4.2.0) - 2018.11.28
321
+
322
+ ### Added
323
+
324
+ - `BEAKER_HYPERVISOR` environment variable to choose the beaker-hostgenerator hypervisor
325
+
326
+ ### Changed
327
+
328
+ - Handling of vsh appended commands for cisco_nexus (BKR-1556)
329
+ - Acceptance tests: Add backoffs to other create_remote_file test
330
+
331
+ ### Fixed
332
+
333
+ - Don't always start a new container with docker (can be reused between invocations of the provision and exec beaker subcommands) (BKR-1547)
334
+ - Recursively remove unpersisted subcommand options (BKR-1549)
335
+
336
+
337
+ # [4.1.0](https://github.com/voxpupuli/beaker/compare/4.0.0...4.1.0) - 2018.10.25
338
+
339
+ ### Added
340
+
341
+ - `--preserve-state` flag will preserve a given host options hash across subcommand runs(BKR-1541)
342
+
343
+ ### Changed
344
+
345
+ - Added additional tests for EL-like systems and added 'redhat' support where necessary
346
+ - Test if puppet module is installed in '/' and avoid stripping of path seperator
347
+
348
+ # [4.0.0](https://github.com/voxpupuli/beaker/compare/3.37.0...4.0.0) - 2018-08-06
349
+
350
+ ### Fixed
351
+
352
+ - `host.rsync_to` throws `Beaker::Host::CommandFailure` if rsync call fails (BKR-463)
353
+ - `host.rsync_to` throws `Beaker::Host::CommandFailure` if rsync does not exist on remote system (BKR-462)
354
+ - `host.rsync_to` now check through configured SSH keys to use the first valid one
355
+ - Updated some `Beaker::Host` methods to always return a `Result` object
356
+
357
+ ### Added
358
+
359
+ - Adds `Beaker::Host#chown`, `#chgrp`, and `#ls_ld` methods (BKR-1499)
360
+ - `#uninstall_package` host helper, to match `#install_package`
361
+ - `Host.uninstall_package` for FreeBSD
362
+ - Now easily check a command's exit status by calling `Result.success?()` for a simple, truthy result. No need to validate the exit code manually.
363
+
364
+ ### Changed
365
+
366
+ - `#set_env` no longer calls `#configure_type_defaults_on`
367
+ - `beaker-puppet` DSL Extension Library has been formally split into a standard DSL Extension Library and removed as a dependency from Beaker. Please see our [upgrade guidelines](docs/how_to/upgrade_from_3_to_4.md).
368
+ - Beaker's Hypervisor Libraries have been removed as dependencies. Please see our [upgrade guidelines](docs/how_to/upgrade_from_3_to_4.md).
369
+
370
+ ### Removed
371
+
372
+ - `PEDefaults` has been moved to `beaker-pe`
373
+
374
+ # [3.37.0](https://github.com/voxpupuli/beaker/compare/3.36.0...3.37.0) - 2018-07-11
375
+
376
+ ### Fixed
377
+
378
+ - Exit early on --help/--version/--parse-only arguments instead of partial dry-run
379
+
380
+ ### Added
381
+
382
+ - `Beaker::Shared::FogCredentials.get_fog_credentials()` to parse .fog credential files
383
+
384
+ ### Changed
385
+
386
+ - `beaker-pe` is no longer automagically included. See [the upgrade guide](/docs/how_to/upgrade_from_3_to_4.md}) for more info
387
+ - `beaker-puppet` is no longer required as a dependency
388
+
389
+ # [3.36.0](https://github.com/voxpupuli/beaker/compare/3.35.0...3.36.0) - 2018-06-18
390
+
391
+ ### Fixed
392
+
393
+ - Raise `ArgumentError` when passing `role = nil` to `only_host_with_role()` or `find_at_most_one_host_with_role()`
394
+ - Use `install_package_with_rpm` in `add_el_extras`
395
+
396
+ ### Added
397
+
398
+ - Installation instructions for contributors
399
+ - Markdown formatting guidelines for `docs/`
400
+ - Glossary for project jargon in [`docs/concepts/glossary.md`](docs/concepts/glossary.md)
401
+ - Use AIX 6.1 packages everywhere for puppet6
402
+
403
+ # [3.35.0](https://github.com/voxpupuli/beaker/compare/3.34.0...3.35.0) - 2018-05-16
404
+
405
+ ### Fixed
406
+
407
+ - Report accurate location of generated smoke test
408
+ - Accept comma-separated tests for exec subcommand
409
+
410
+ ### Added
411
+
412
+ - Added optional ability to use ERB in nodeset YAML files
413
+
414
+ # [3.34.0](https://github.com/voxpupuli/beaker/compare/3.33.0...3.34.0) - 2018-03-26
415
+
416
+ ### Fixed
417
+
418
+ - Recursively glob the tests directory
419
+
420
+ ### Added
421
+
422
+ - Codename for Ubuntu 18.04 'Bionic'
423
+
424
+ # [3.33.0](https://github.com/voxpupuli/beaker/compare/3.32.0...3.33.0) - 2018-03-07
425
+
426
+ ### Changed
427
+
428
+ - Use relative paths for beaker exec
429
+
430
+ # [3.32.0](https://github.com/voxpupuli/beaker/compare/3.31.0...3.32.0) - 2018-02-22
431
+
432
+ ### Changed
433
+
434
+ - Fully qualify sles ssh restart cmd
435
+ - Deprecated deploy_package_repo methods
436
+ - Configuration of host type in host_prebuilt_steps
437
+
438
+ ### Added
439
+
440
+ - Added missing beaker options for subcommand passthorugh
441
+
442
+ # [3.31.0](https://github.com/voxpupuli/beaker/compare/3.30.0...3.31.0) - 2018-01-22
443
+
444
+ ### Changed
445
+
446
+ - Clean up ssh paranoid setting deprecation warnings
447
+
448
+ ### Added
449
+
450
+ - Add macOS 10.13 support
451
+
452
+ # [3.30.0](https://github.com/voxpupuli/beaker/compare/3.29.0...3.30.0) - 2018-01-10
453
+
454
+ ### Changed
455
+
456
+ - Use `host.hostname` when combining options host_hash with host instance options
457
+
458
+ ### Removed
459
+
460
+ - `amazon` as a platform value
461
+
462
+ ### Added
463
+
464
+ - Load project options from .beaker.yml
465
+
466
+ # [3.29.0](https://github.com/voxpupuli/beaker/compare/3.28.0...3.29.0) - 2017-11-16
467
+
468
+ ### Added
469
+
470
+ - Adding default to read fog credentials
471
+
472
+ # [3.28.0](https://github.com/voxpupuli/beaker/compare/3.27.0...3.28.0) - 2017-11-01
473
+
474
+ ### Fixed
475
+
476
+ - corruption of `opts[:ignore]` when using `rsync`
477
+
478
+ # [3.27.0](https://github.com/voxpupuli/beaker/compare/3.26.0...3.27.0) - 2017-10-19
479
+
480
+ ### Added
481
+
482
+ - support amazon as a platform
483
+ - add codenames for MacOS 10.13 and Ubuntu Artful
484
+
485
+ # [3.26.0](https://github.com/voxpupuli/beaker/compare/3.25.0...3.26.0) - 2017-10-05
486
+
487
+ ### Added
488
+
489
+ - concept of `manual_test` and `manual_step`
490
+
491
+ # [3.25.0](https://github.com/voxpupuli/beaker/compare/3.24.0...3.25.0) - 2017-09-26
492
+