Skip to content

Commit 4c841d0

Browse files
committed
Require Bolt 3.10.0
To make all the tests work
1 parent 86f4213 commit 4c841d0

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ group :development do
2525
gem "puppet-module-win-default-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
2626
gem "puppet-module-win-dev-r#{minor_version}", '~> 1.0', require: false, platforms: [:mswin, :mingw, :x64_mingw]
2727
gem "puppet-debugger", '>= 0.18.0', require: false
28-
gem "bolt", '>= 3.9.1', require: false
28+
gem "bolt", '>= 3.10.0', require: false
2929
gem "github_changelog_generator", require: false, git: 'https://github.com/skywinder/github-changelog-generator', ref: '20ee04ba1234e9e83eb2ffb5056e23d641c7a018' if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.2.2')
3030
end
3131
group :system_tests do

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The normal usage pattern for peadm is as follows.
5050
### Requirements
5151

5252
* Puppet Enterprise 2019.8.1 or newer (tested with PE 2021.0)
53-
* Bolt 2.42.0 or newer (tested with Bolt 3.5.0)
53+
* Bolt 3.10.0 or newer (tested with Bolt 3.10.0)
5454
* EL 7, EL 8, Ubuntu 18.04, or Ubuntu 20.04
5555
* Classifier Data enabled. This PE feature is enabled by default on new installs, but can be disabled by users if they remove the relevant configuration from their global hiera.yaml file. See the [PE docs](https://puppet.com/docs/pe/latest/config_console.html#task-5039) for more information.
5656

functions/assert_supported_bolt_version.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
function peadm::assert_supported_bolt_version (
55
# No arguments
66
) >> Struct[{'supported' => Boolean}] {
7-
$supported_bolt_version = '>= 3.9.1 < 4.0.0'
7+
$supported_bolt_version = '>= 3.10.0 < 4.0.0'
88
$supported = (peadm::bolt_version() =~ SemVerRange($supported_bolt_version))
99

1010
unless $supported {

spec/plans/modify_cert_extensions_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
end
1515

1616
it 'runs successfully ' do
17-
pending('a BoltSpec bug related to parallelize() being fixed')
18-
1917
allow_task('peadm::cert_data').always_return({ 'certname' => 'primary' })
2018
expect_plan('peadm::subplans::modify_cert_extensions').be_called_times(3)
2119

0 commit comments

Comments
 (0)