beaker-puppet 4.1.1 → 4.2.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 +4 -4
- data/.github/workflows/test.yml +2 -0
- data/.rubocop_todo.yml +323 -83
- data/CHANGELOG.md +14 -4
- data/beaker-puppet.gemspec +2 -2
- data/lib/beaker-puppet/helpers/puppet_helpers.rb +1 -2
- data/lib/beaker-puppet/helpers/tk_helpers.rb +1 -2
- data/lib/beaker-puppet/inifile.rb +635 -0
- data/lib/beaker-puppet/version.rb +1 -1
- data/lib/beaker-puppet.rb +1 -0
- data/spec/beaker-puppet/helpers/facter_helpers_spec.rb +1 -1
- metadata +9 -8
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,24 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
|
3
|
+
## [4.2.0](https://github.com/puppetlabs/beaker-puppet/tree/4.2.0) (2025-01-17)
|
4
4
|
|
5
|
-
|
5
|
+
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/4.1.1...4.2.0)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- \(PA-7091\) Add support for Ruby 3.2 and 3.3 [\#262](https://github.com/puppetlabs/beaker-puppet/pull/262) ([joshcooper](https://github.com/joshcooper))
|
10
|
+
|
11
|
+
**Fixed bugs:**
|
12
|
+
|
13
|
+
- \(PA-6897\) Get rubocop working again [\#263](https://github.com/puppetlabs/beaker-puppet/pull/263) ([joshcooper](https://github.com/joshcooper))
|
14
|
+
|
15
|
+
## [4.1.1](https://github.com/puppetlabs/beaker-puppet/tree/4.1.1) (2024-08-15)
|
6
16
|
|
7
17
|
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/4.1.0...4.1.1)
|
8
18
|
|
9
19
|
**Implemented enhancements:**
|
10
20
|
|
11
|
-
- \
|
21
|
+
- \(PA-6886\) Add DigiCertGlobalRootG2 to Solaris image [\#260](https://github.com/puppetlabs/beaker-puppet/pull/260) ([AriaXLi](https://github.com/AriaXLi))
|
12
22
|
|
13
23
|
## [4.1.0](https://github.com/puppetlabs/beaker-puppet/tree/4.1.0) (2024-05-31)
|
14
24
|
|
@@ -18,7 +28,7 @@ All notable changes to this project will be documented in this file.
|
|
18
28
|
|
19
29
|
- Add support for Ubuntu 24.04 [\#257](https://github.com/puppetlabs/beaker-puppet/pull/257) ([joshcooper](https://github.com/joshcooper))
|
20
30
|
|
21
|
-
## [4.0.0](https://github.com/puppetlabs/beaker-puppet/tree/4.0.0) (2024-05-
|
31
|
+
## [4.0.0](https://github.com/puppetlabs/beaker-puppet/tree/4.0.0) (2024-05-29)
|
22
32
|
|
23
33
|
[Full Changelog](https://github.com/puppetlabs/beaker-puppet/compare/3.0.1...4.0.0)
|
24
34
|
|
data/beaker-puppet.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.description = 'For use for the Beaker acceptance testing tool'
|
12
12
|
s.license = 'Apache-2.0'
|
13
13
|
|
14
|
-
s.required_ruby_version = '>= 2.7', '< 3.
|
14
|
+
s.required_ruby_version = '>= 2.7', '< 3.4'
|
15
15
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
17
17
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_development_dependency 'rake', '~> 13.0'
|
24
24
|
s.add_development_dependency 'rspec', '~> 3.0'
|
25
25
|
s.add_development_dependency 'rspec-its', '~> 1.3'
|
26
|
-
s.add_development_dependency 'voxpupuli-rubocop', '~>
|
26
|
+
s.add_development_dependency 'voxpupuli-rubocop', '~> 3.0'
|
27
27
|
|
28
28
|
# Acceptance Testing Dependencies
|
29
29
|
s.add_development_dependency 'beaker-vmpooler', '~> 1.4'
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'timeout'
|
2
|
-
require 'inifile'
|
3
2
|
require 'resolv'
|
4
3
|
|
5
4
|
module Beaker
|
@@ -293,7 +292,7 @@ module Beaker
|
|
293
292
|
# @!visibility private
|
294
293
|
def puppet_conf_for(host, conf_opts)
|
295
294
|
puppetconf = host.exec(Command.new("cat #{puppet_config(host, 'config', section: 'master')}")).stdout
|
296
|
-
IniFile.new(default: 'main', content: puppetconf).merge(conf_opts)
|
295
|
+
BeakerPuppet::IniFile.new(default: 'main', content: puppetconf).merge(conf_opts)
|
297
296
|
end
|
298
297
|
|
299
298
|
# Restarts the named puppet service
|
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'hocon'
|
2
2
|
require 'hocon/config_error'
|
3
|
-
require 'inifile'
|
4
3
|
|
5
4
|
module Beaker
|
6
5
|
module DSL
|
@@ -70,7 +69,7 @@ module Beaker
|
|
70
69
|
end
|
71
70
|
|
72
71
|
begin
|
73
|
-
return IniFile.new(content: string)
|
72
|
+
return BeakerPuppet::IniFile.new(content: string)
|
74
73
|
rescue IniFile::Error
|
75
74
|
nil
|
76
75
|
end
|