beaker-puppet 1.21.0 → 1.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +16 -8
- data/.github/workflows/test.yml +16 -9
- data/CHANGELOG.md +18 -2
- data/Gemfile +7 -7
- data/README.md +31 -50
- data/beaker-puppet.gemspec +3 -6
- data/lib/beaker-puppet.rb +0 -1
- data/lib/beaker-puppet/helpers/puppet_helpers.rb +2 -2
- data/lib/beaker-puppet/install_utils/foss_utils.rb +5 -2
- data/lib/beaker-puppet/version.rb +1 -1
- data/spec/beaker-puppet/helpers/puppet_helpers_spec.rb +15 -20
- data/spec/beaker-puppet/install_utils/foss_utils_spec.rb +0 -15
- data/spec/spec_helper.rb +25 -2
- metadata +6 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53f89a92b8bca60e64107cc70882e959fbf05594edf34307374f392b8f31e622
|
4
|
+
data.tar.gz: a3cd7ac37aa8c519346bd8a2a874f6b42661983bf0f7edad91f53a77b3a646ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0a6be8dfcfcb86fb13b1b6833fa18b470769cdd50b6321c51f9aa5a75106eb3cab12f03f98b5f5eb7e4e861e8746041f83eeb2c1d1e8374910f19d96d40de23
|
7
|
+
data.tar.gz: cbaa76dcb7f841cc0d057b28ae761f820507b74d2dfa7f5f0226990a571ab032f5de12b1b5b59ca6e62e0df41dfb86db007ec81e1fa7b1b835a6f8ce07158b04
|
@@ -1,24 +1,32 @@
|
|
1
1
|
name: Release
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
5
|
-
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- '*'
|
6
7
|
|
7
8
|
jobs:
|
8
9
|
release:
|
9
10
|
runs-on: ubuntu-latest
|
10
|
-
if: github.
|
11
|
-
env:
|
12
|
-
BUNDLE_WITHOUT: release
|
11
|
+
if: github.repository_owner == 'voxpupuli'
|
13
12
|
steps:
|
14
13
|
- uses: actions/checkout@v2
|
15
|
-
- name: Install Ruby
|
14
|
+
- name: Install Ruby 3.0
|
16
15
|
uses: ruby/setup-ruby@v1
|
17
16
|
with:
|
18
|
-
ruby-version: '
|
17
|
+
ruby-version: '3.0'
|
18
|
+
env:
|
19
|
+
BUNDLE_WITHOUT: release
|
19
20
|
- name: Build gem
|
20
21
|
run: gem build *.gemspec
|
21
|
-
- name: Publish gem
|
22
|
+
- name: Publish gem to rubygems.org
|
22
23
|
run: gem push *.gem
|
23
24
|
env:
|
24
25
|
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_AUTH_TOKEN }}'
|
26
|
+
- name: Setup GitHub packages access
|
27
|
+
run: |
|
28
|
+
mkdir -p ~/.gem
|
29
|
+
echo ":github: Bearer ${{ secrets.GITHUB_TOKEN }}" >> ~/.gem/credentials
|
30
|
+
chmod 0600 ~/.gem/credentials
|
31
|
+
- name: Publish gem to GitHub packages
|
32
|
+
run: gem push --key github --host https://rubygems.pkg.github.com/voxpupuli *.gem
|
data/.github/workflows/test.yml
CHANGED
@@ -4,20 +4,25 @@ on:
|
|
4
4
|
- pull_request
|
5
5
|
- push
|
6
6
|
|
7
|
+
env:
|
8
|
+
BUNDLE_WITHOUT: release
|
9
|
+
|
7
10
|
jobs:
|
8
|
-
|
11
|
+
rspec:
|
9
12
|
runs-on: ubuntu-latest
|
10
13
|
strategy:
|
11
14
|
fail-fast: false
|
12
15
|
matrix:
|
13
|
-
|
14
|
-
- "2.4"
|
15
|
-
- "2.5"
|
16
|
-
- "2.6"
|
17
|
-
- "2.7"
|
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"
|
18
23
|
env:
|
19
|
-
|
20
|
-
name: Ruby ${{ matrix.ruby }}
|
24
|
+
COVERAGE: ${{ matrix.coverage }}
|
25
|
+
name: RSpec - Ruby ${{ matrix.ruby }}
|
21
26
|
steps:
|
22
27
|
- uses: actions/checkout@v2
|
23
28
|
- name: Install Ruby ${{ matrix.ruby }}
|
@@ -25,5 +30,7 @@ jobs:
|
|
25
30
|
with:
|
26
31
|
ruby-version: ${{ matrix.ruby }}
|
27
32
|
bundler-cache: true
|
28
|
-
- name:
|
33
|
+
- name: spec tests
|
29
34
|
run: bundle exec rake test:spec
|
35
|
+
- name: Verify gem builds
|
36
|
+
run: gem build *.gemspec
|
data/CHANGELOG.md
CHANGED
@@ -2,9 +2,25 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
## [v1.
|
5
|
+
## [v1.22.0](https://github.com/voxpupuli/beaker-puppet/tree/v1.22.0) (2021-08-17)
|
6
6
|
|
7
|
-
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.
|
7
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.21.0...v1.22.0)
|
8
|
+
|
9
|
+
**Implemented enhancements:**
|
10
|
+
|
11
|
+
- Create better puppet apply tmpfiles [\#161](https://github.com/voxpupuli/beaker-puppet/pull/161) ([trevor-vaughan](https://github.com/trevor-vaughan))
|
12
|
+
- Drop stringify-hash dependency [\#158](https://github.com/voxpupuli/beaker-puppet/pull/158) ([ekohl](https://github.com/ekohl))
|
13
|
+
|
14
|
+
**Merged pull requests:**
|
15
|
+
|
16
|
+
- Remove mentions of Beaker 3 [\#165](https://github.com/voxpupuli/beaker-puppet/pull/165) ([ekohl](https://github.com/ekohl))
|
17
|
+
- Use the built-in Resolv::IPv4::Regex [\#164](https://github.com/voxpupuli/beaker-puppet/pull/164) ([ekohl](https://github.com/ekohl))
|
18
|
+
- Implement codecov; update README.md [\#162](https://github.com/voxpupuli/beaker-puppet/pull/162) ([bastelfreak](https://github.com/bastelfreak))
|
19
|
+
- Add both GPG keys when installing repos on SLES [\#157](https://github.com/voxpupuli/beaker-puppet/pull/157) ([GabrielNagy](https://github.com/GabrielNagy))
|
20
|
+
|
21
|
+
## [1.21.0](https://github.com/voxpupuli/beaker-puppet/tree/1.21.0) (2020-12-21)
|
22
|
+
|
23
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.20.0...1.21.0)
|
8
24
|
|
9
25
|
**Fixed bugs:**
|
10
26
|
|
data/Gemfile
CHANGED
@@ -2,10 +2,6 @@ source ENV['GEM_SOURCE'] || "https://rubygems.org"
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
group :release do
|
6
|
-
gem 'github_changelog_generator', :require => false, :git => 'https://github.com/voxpupuli/github-changelog-generator', :branch => 'voxpupuli_essential_fixes'
|
7
|
-
end
|
8
|
-
|
9
5
|
def location_for(place, fake_version = nil)
|
10
6
|
if place =~ /^(git:[^#]*)#(.*)/
|
11
7
|
[fake_version, { :git => $1, :branch => $2, :require => false }].compact
|
@@ -18,11 +14,15 @@ end
|
|
18
14
|
|
19
15
|
|
20
16
|
group :test do
|
21
|
-
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || ['>= 4.
|
17
|
+
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || ['>= 4.30.0', '< 5.0.0'])
|
22
18
|
gem "beaker-abs", *location_for(ENV['ABS_VERSION'] || '~> 0.4.0')
|
23
19
|
end
|
24
20
|
|
21
|
+
group :release do
|
22
|
+
gem 'github_changelog_generator', require: false
|
23
|
+
end
|
25
24
|
|
26
|
-
|
27
|
-
|
25
|
+
group :coverage, optional: ENV['COVERAGE']!='yes' do
|
26
|
+
gem 'simplecov-console', :require => false
|
27
|
+
gem 'codecov', :require => false
|
28
28
|
end
|
data/README.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# beaker-puppet: The Puppet-Specific Beaker Library
|
2
2
|
|
3
|
+
[![License](https://img.shields.io/github/license/voxpupuli/beaker-puppet.svg)](https://github.com/voxpupuli/beaker-puppet/blob/master/LICENSE)
|
4
|
+
[![Test](https://github.com/voxpupuli/beaker-puppet/actions/workflows/test.yml/badge.svg)](https://github.com/voxpupuli/beaker-puppet/actions/workflows/test.yml)
|
5
|
+
[![codecov](https://codecov.io/gh/voxpupuli/beaker-puppet/branch/master/graph/badge.svg?token=Mypkl78hvK)](https://codecov.io/gh/voxpupuli/beaker-puppet)
|
6
|
+
[![Release](https://github.com/voxpupuli/beaker-puppet/actions/workflows/release.yml/badge.svg)](https://github.com/voxpupuli/beaker-puppet/actions/workflows/release.yml)
|
7
|
+
[![RubyGem Version](https://img.shields.io/gem/v/beaker-puppet.svg)](https://rubygems.org/gems/beaker-puppet)
|
8
|
+
[![RubyGem Downloads](https://img.shields.io/gem/dt/beaker-puppet.svg)](https://rubygems.org/gems/beaker-puppet)
|
9
|
+
[![Donated by Puppet Inc](https://img.shields.io/badge/donated%20by-Puppet%20Inc-fb7047.svg)](#transfer-notice)
|
10
|
+
|
3
11
|
The purpose of this library is to hold all puppet-specific info & DSL methods.
|
4
12
|
This includes all helper & installer methods.
|
5
13
|
|
@@ -9,43 +17,23 @@ of beaker, please do, we would love any help that you'd like to provide.
|
|
9
17
|
|
10
18
|
# How Do I Use This?
|
11
19
|
|
12
|
-
|
13
|
-
|
14
|
-
This library is included as a dependency of Beaker 3.x versions and is automatically included, so there's nothing to do.
|
15
|
-
|
16
|
-
## With Beaker 4.x
|
20
|
+
You will need to include beaker-puppet alongside Beaker in your Gemfile or project.gemspec. E.g.
|
17
21
|
|
18
|
-
|
19
|
-
|
20
|
-
As of beaker 4.0, all hypervisor and DSL extension libraries have been removed and are no longer dependencies. In order to use a specific hypervisor or DSL extension library in your project, you will need to include them alongside Beaker in your Gemfile or project.gemspec. E.g.
|
21
|
-
|
22
|
-
~~~ruby
|
22
|
+
```ruby
|
23
23
|
# Gemfile
|
24
24
|
gem 'beaker', '~>4.0'
|
25
25
|
gem 'beaker-puppet', '~>1.0'
|
26
26
|
# project.gemspec
|
27
27
|
s.add_runtime_dependency 'beaker', '~>4.0'
|
28
28
|
s.add_runtime_dependency 'beaker-puppet', '~>1.0'
|
29
|
-
|
30
|
-
|
31
|
-
For DSL Extension Libraries, you must also ensure that you `require` the library in your test files. You can do this manually in individual test files or in a test helper (if you have one). You can [use `Bundler.require()`](https://bundler.io/v1.16/guides/groups.html) to require the library automatically.
|
32
|
-
|
33
|
-
### Right Now? (beaker 3.x)
|
34
|
-
|
35
|
-
At this point, beaker-puppet is included in beaker, so you don't have to _do_
|
36
|
-
anything to get the methods in this library.
|
37
|
-
|
38
|
-
You can use these methods in a test by referencing them by name without
|
39
|
-
qualifications, as they're included in the beaker DSL by default.
|
40
|
-
|
41
|
-
### In beaker's Next Major Version? (beaker 4.x)
|
29
|
+
```
|
42
30
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
31
|
+
For DSL Extension Libraries, you must also ensure that you `require` the
|
32
|
+
library in your test files. You can do this manually in individual test files
|
33
|
+
or in a test helper (if you have one). You can [use
|
34
|
+
`Bundler.require()`](https://bundler.io/v1.16/guides/groups.html) to require
|
35
|
+
the library automatically. To explicitly require it:
|
47
36
|
|
48
|
-
Once you've done that & installed the gems, in your test, you'll have to
|
49
37
|
```ruby
|
50
38
|
require 'beaker-puppet'
|
51
39
|
```
|
@@ -74,31 +62,24 @@ file, or you can provide a beaker-hostgenerator value to the `TEST_TARGET`
|
|
74
62
|
environment variable. You can also specify the tests that get executed with the
|
75
63
|
`TESTS` environment variable.
|
76
64
|
|
77
|
-
|
78
|
-
|
79
|
-
Please refer to puppetlabs/beaker's [contributing](https://github.com/puppetlabs/beaker/blob/master/CONTRIBUTING.md) guide.
|
80
|
-
|
81
|
-
# Releasing
|
65
|
+
## Transfer Notice
|
82
66
|
|
83
|
-
|
67
|
+
This plugin was originally authored by [Puppet Inc](http://puppet.com).
|
68
|
+
The maintainer preferred that Puppet Community take ownership of the module for future improvement and maintenance.
|
69
|
+
Existing pull requests and issues were transferred over, please fork and continue to contribute here.
|
84
70
|
|
85
|
-
|
86
|
-
bundle install --path .vendor/ --jobs=$(nproc) --with release
|
87
|
-
```
|
71
|
+
Previously: https://github.com/puppetlabs/beaker
|
88
72
|
|
89
|
-
|
73
|
+
## License
|
90
74
|
|
91
|
-
|
75
|
+
This gem is licensed under the Apache-2 license.
|
92
76
|
|
93
|
-
|
94
|
-
export CHANGELOG_GITHUB_TOKEN=...
|
95
|
-
```
|
96
|
-
|
97
|
-
* Generate the changelog
|
98
|
-
|
99
|
-
```
|
100
|
-
bundle exec rake changelog
|
101
|
-
```
|
77
|
+
## Release information
|
102
78
|
|
103
|
-
|
104
|
-
*
|
79
|
+
To make a new release, please do:
|
80
|
+
* update the version in `lib/beaker-puppet/version.rb`
|
81
|
+
* Install gems with `bundle install --with release --path .vendor`
|
82
|
+
* generate the changelog with `bundle exec rake changelog`
|
83
|
+
* Check if the new version matches the closed issues/PRs in the changelog
|
84
|
+
* Create a PR with it
|
85
|
+
* After it got merged, push a tag. GitHub actions will do the actual release to rubygems and GitHub Packages
|
data/beaker-puppet.gemspec
CHANGED
@@ -5,9 +5,9 @@ require 'beaker-puppet/version'
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "beaker-puppet"
|
7
7
|
s.version = BeakerPuppet::VERSION
|
8
|
-
s.authors = ["
|
9
|
-
s.email = ["
|
10
|
-
s.homepage = "https://github.com/
|
8
|
+
s.authors = ["Vox Pupuli"]
|
9
|
+
s.email = ["voxpupuli@groups.io"]
|
10
|
+
s.homepage = "https://github.com/voxpupuli/beaker-puppet"
|
11
11
|
s.summary = %q{Beaker's Puppet DSL Extension Helpers!}
|
12
12
|
s.description = %q{For use for the Beaker acceptance testing tool}
|
13
13
|
s.license = 'Apache2'
|
@@ -22,8 +22,6 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.add_development_dependency 'rspec-its'
|
23
23
|
s.add_development_dependency 'fakefs', '>= 0.6', '< 2.0'
|
24
24
|
s.add_development_dependency 'rake', '~> 13.0'
|
25
|
-
s.add_development_dependency 'simplecov'
|
26
|
-
s.add_development_dependency 'pry', '~> 0.10'
|
27
25
|
|
28
26
|
# Acceptance Testing Dependencies
|
29
27
|
s.add_development_dependency 'beaker-vmpooler'
|
@@ -34,7 +32,6 @@ Gem::Specification.new do |s|
|
|
34
32
|
|
35
33
|
# Run time dependencies
|
36
34
|
s.add_runtime_dependency 'beaker', '~> 4.1'
|
37
|
-
s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
|
38
35
|
s.add_runtime_dependency 'in-parallel', '~> 0.1'
|
39
36
|
s.add_runtime_dependency 'oga'
|
40
37
|
|
data/lib/beaker-puppet.rb
CHANGED
@@ -12,7 +12,7 @@ module Beaker
|
|
12
12
|
|
13
13
|
# Return the regular expression pattern for an IPv4 address
|
14
14
|
def ipv4_regex
|
15
|
-
|
15
|
+
Resolv::IPv4::Regex
|
16
16
|
end
|
17
17
|
|
18
18
|
# Return the IP address that given hostname returns when resolved on
|
@@ -519,7 +519,7 @@ module Beaker
|
|
519
519
|
puppet_apply_opts['ENV'] = opts[:environment]
|
520
520
|
end
|
521
521
|
|
522
|
-
file_path = host.tmpfile(
|
522
|
+
file_path = host.tmpfile(%(apply_manifest_#{Time.now.strftime("%H%M%S%L")}.pp))
|
523
523
|
create_remote_file(host, file_path, manifest + "\n")
|
524
524
|
|
525
525
|
if host[:default_apply_opts].respond_to? :merge
|
@@ -1036,8 +1036,11 @@ module Beaker
|
|
1036
1036
|
# package. We'll have to remember to update this block when
|
1037
1037
|
# we update the signing keys
|
1038
1038
|
if variant == 'sles' && version >= '11'
|
1039
|
-
|
1040
|
-
|
1039
|
+
%w[puppet puppet-20250406].each do |gpg_key|
|
1040
|
+
on host, "wget -O /tmp/#{gpg_key} https://yum.puppet.com/RPM-GPG-KEY-#{gpg_key}"
|
1041
|
+
on host, "rpm --import /tmp/#{gpg_key}"
|
1042
|
+
on host, "rm -f /tmp/#{gpg_key}"
|
1043
|
+
end
|
1041
1044
|
end
|
1042
1045
|
|
1043
1046
|
if variant == 'cisco_nexus'
|
@@ -1229,10 +1229,6 @@ describe ClassMixedWithDSLHelpers do
|
|
1229
1229
|
end
|
1230
1230
|
|
1231
1231
|
describe '#bounce_service' do
|
1232
|
-
# let( :options ) {
|
1233
|
-
# opts = StringifyHash.new
|
1234
|
-
# opts
|
1235
|
-
# }
|
1236
1232
|
let( :options ) { Beaker::Options::Presets.new.presets }
|
1237
1233
|
let( :result ) { double.as_null_object }
|
1238
1234
|
before :each do
|
@@ -1285,12 +1281,13 @@ describe ClassMixedWithDSLHelpers do
|
|
1285
1281
|
end
|
1286
1282
|
|
1287
1283
|
describe '#sleep_until_puppetdb_started' do
|
1288
|
-
let( :options )
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1284
|
+
let( :options ) do # defaults from presets.rb
|
1285
|
+
{
|
1286
|
+
:puppetdb_port_nonssl => 8080,
|
1287
|
+
:puppetdb_port_ssl => 8081
|
1288
|
+
}
|
1289
|
+
end
|
1290
|
+
|
1294
1291
|
before :each do
|
1295
1292
|
allow( subject ).to receive( :options ) { options }
|
1296
1293
|
allow( hosts[0] ).to receive( :node_name ).and_return( '' )
|
@@ -1347,11 +1344,10 @@ describe ClassMixedWithDSLHelpers do
|
|
1347
1344
|
end
|
1348
1345
|
|
1349
1346
|
describe '#sleep_until_puppetserver_started' do
|
1350
|
-
let( :options )
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
}
|
1347
|
+
let( :options ) do
|
1348
|
+
{ :puppetserver_port => 8140 }
|
1349
|
+
end
|
1350
|
+
|
1355
1351
|
before :each do
|
1356
1352
|
allow( subject ).to receive( :options ) { options }
|
1357
1353
|
allow( hosts[0] ).to receive( :node_name )
|
@@ -1371,11 +1367,10 @@ describe ClassMixedWithDSLHelpers do
|
|
1371
1367
|
end
|
1372
1368
|
|
1373
1369
|
describe '#sleep_until_nc_started' do
|
1374
|
-
let( :options )
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
}
|
1370
|
+
let( :options ) do # defaults from presets.rb
|
1371
|
+
{ :nodeclassifier_port => 4433 }
|
1372
|
+
end
|
1373
|
+
|
1379
1374
|
before :each do
|
1380
1375
|
allow( subject ).to receive( :options ) { options }
|
1381
1376
|
allow( hosts[0] ).to receive( :node_name )
|
@@ -1632,19 +1632,4 @@ describe ClassMixedWithDSLInstallUtils do
|
|
1632
1632
|
end
|
1633
1633
|
|
1634
1634
|
end
|
1635
|
-
|
1636
|
-
describe '#get_latest_puppet_agent_build_from_url' do
|
1637
|
-
let(:urls) {['https://downloads.puppet.com/mac/10.9/PC1/x86_64',
|
1638
|
-
'https://downloads.puppet.com/mac/10.10/PC1/x86_64',
|
1639
|
-
'https://downloads.puppet.com/mac/10.11/PC1/x86_64',
|
1640
|
-
'https://downloads.puppet.com/mac/10.12/PC1/x86_64',
|
1641
|
-
'https://downloads.puppet.com/windows']}
|
1642
|
-
|
1643
|
-
it "gets the right version" do
|
1644
|
-
urls.each do |url|
|
1645
|
-
expect(subject.get_latest_puppet_agent_build_from_url(url)).to match(/\d*.\d*.\d*/)
|
1646
|
-
end
|
1647
|
-
end
|
1648
|
-
end
|
1649
|
-
|
1650
1635
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,27 @@
|
|
1
|
-
|
1
|
+
begin
|
2
|
+
require 'simplecov'
|
3
|
+
require 'simplecov-console'
|
4
|
+
require 'codecov'
|
5
|
+
rescue LoadError
|
6
|
+
else
|
7
|
+
SimpleCov.start do
|
8
|
+
track_files 'lib/**/*.rb'
|
9
|
+
|
10
|
+
add_filter '/spec'
|
11
|
+
|
12
|
+
enable_coverage :branch
|
13
|
+
|
14
|
+
# do not track vendored files
|
15
|
+
add_filter '/vendor'
|
16
|
+
add_filter '/.vendor'
|
17
|
+
end
|
18
|
+
|
19
|
+
SimpleCov.formatters = [
|
20
|
+
SimpleCov::Formatter::Console,
|
21
|
+
SimpleCov::Formatter::Codecov,
|
22
|
+
]
|
23
|
+
end
|
24
|
+
|
2
25
|
# require 'pp' statement needed before fakefs, otherwise they can collide. Ref:
|
3
26
|
# https://github.com/fakefs/fakefs#fakefs-----typeerror-superclass-mismatch-for-class-file
|
4
27
|
require 'pp'
|
@@ -20,4 +43,4 @@ RSpec.configure do |config|
|
|
20
43
|
config.include FakeFS::SpecHelpers
|
21
44
|
config.include TestFileHelpers
|
22
45
|
config.include HostHelpers
|
23
|
-
end
|
46
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Vox Pupuli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -72,34 +72,6 @@ dependencies:
|
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '13.0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: simplecov
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '0'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '0'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: pry
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '0.10'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0.10'
|
103
75
|
- !ruby/object:Gem::Dependency
|
104
76
|
name: beaker-vmpooler
|
105
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,20 +128,6 @@ dependencies:
|
|
156
128
|
- - "~>"
|
157
129
|
- !ruby/object:Gem::Version
|
158
130
|
version: '4.1'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: stringify-hash
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: 0.0.0
|
166
|
-
type: :runtime
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: 0.0.0
|
173
131
|
- !ruby/object:Gem::Dependency
|
174
132
|
name: in-parallel
|
175
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,7 +158,7 @@ dependencies:
|
|
200
158
|
version: '0'
|
201
159
|
description: For use for the Beaker acceptance testing tool
|
202
160
|
email:
|
203
|
-
-
|
161
|
+
- voxpupuli@groups.io
|
204
162
|
executables:
|
205
163
|
- beaker-puppet
|
206
164
|
extensions: []
|
@@ -291,7 +249,7 @@ files:
|
|
291
249
|
- spec/helpers.rb
|
292
250
|
- spec/spec_helper.rb
|
293
251
|
- tasks/ci.rake
|
294
|
-
homepage: https://github.com/
|
252
|
+
homepage: https://github.com/voxpupuli/beaker-puppet
|
295
253
|
licenses:
|
296
254
|
- Apache2
|
297
255
|
metadata: {}
|
@@ -310,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
310
268
|
- !ruby/object:Gem::Version
|
311
269
|
version: '0'
|
312
270
|
requirements: []
|
313
|
-
rubygems_version: 3.
|
271
|
+
rubygems_version: 3.2.22
|
314
272
|
signing_key:
|
315
273
|
specification_version: 4
|
316
274
|
summary: Beaker's Puppet DSL Extension Helpers!
|