beaker-puppet 2.0.0 → 3.0.1
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/release.yml +2 -2
- data/.github/workflows/test.yml +3 -3
- data/.github_changelog_generator +3 -0
- data/.rubocop_todo.yml +52 -7
- data/CHANGELOG.md +409 -335
- data/CODEOWNERS +1 -0
- data/README.md +4 -13
- data/Rakefile +1 -1
- data/acceptance/tests/stub_host.rb +1 -1
- data/beaker-puppet.gemspec +3 -3
- data/lib/beaker-puppet/helpers/puppet_helpers.rb +20 -95
- data/lib/beaker-puppet/install_utils/foss_utils.rb +10 -194
- data/lib/beaker-puppet/install_utils/puppet_utils.rb +0 -17
- data/lib/beaker-puppet/version.rb +1 -1
- data/release-prep.sh +11 -0
- data/setup/aio/010_Install_Puppet_Agent.rb +22 -8
- data/setup/common/040_ValidateSignCert.rb +4 -11
- data/setup/gem/010_GemInstall.rb +1 -1
- data/spec/beaker-puppet/helpers/puppet_helpers_spec.rb +1 -251
- data/spec/beaker-puppet/install_utils/foss_utils_spec.rb +34 -463
- data/spec/beaker-puppet/install_utils/puppet_utils_spec.rb +0 -23
- data/tasks/ci.rake +27 -19
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3fe57eaf8134ebaf8e7d3059b5cbf927a023b9264fba6bed84ab25c8fc475b8
|
4
|
+
data.tar.gz: b336af52d9d10b87473a51b76471f17f23d9913a59071c76395e413e5096331f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93fabb76ba35f1d2af79beb763da85bc9e65bd1fd412214f2f0d898251fd1018630a00ac319b15098b57258ef925ed835a50d83fee98f1d6d25c3e50a83320c8
|
7
|
+
data.tar.gz: caddb56e11d1c2f44996d70bc9b732321ce3aa48d8e492da82b67fca3f2d0b871e4e4015348429db1147b23f912739447a8d7eabf009bbf63c44261fbe470a56
|
@@ -8,9 +8,9 @@ on:
|
|
8
8
|
jobs:
|
9
9
|
release:
|
10
10
|
runs-on: ubuntu-latest
|
11
|
-
if: github.repository_owner == '
|
11
|
+
if: github.repository_owner == 'puppetlabs'
|
12
12
|
steps:
|
13
|
-
- uses: actions/checkout@
|
13
|
+
- uses: actions/checkout@v4
|
14
14
|
- name: Install Ruby 3.0
|
15
15
|
uses: ruby/setup-ruby@v1
|
16
16
|
with:
|
data/.github/workflows/test.yml
CHANGED
@@ -4,7 +4,7 @@ on:
|
|
4
4
|
pull_request: {}
|
5
5
|
push:
|
6
6
|
branches:
|
7
|
-
-
|
7
|
+
- main
|
8
8
|
|
9
9
|
env:
|
10
10
|
BUNDLE_WITHOUT: release
|
@@ -13,7 +13,7 @@ jobs:
|
|
13
13
|
rubocop:
|
14
14
|
runs-on: ubuntu-latest
|
15
15
|
steps:
|
16
|
-
- uses: actions/checkout@
|
16
|
+
- uses: actions/checkout@v4
|
17
17
|
- name: Install Ruby ${{ matrix.ruby }}
|
18
18
|
uses: ruby/setup-ruby@v1
|
19
19
|
with:
|
@@ -38,7 +38,7 @@ jobs:
|
|
38
38
|
COVERAGE: ${{ matrix.coverage }}
|
39
39
|
name: RSpec - Ruby ${{ matrix.ruby }}
|
40
40
|
steps:
|
41
|
-
- uses: actions/checkout@
|
41
|
+
- uses: actions/checkout@v4
|
42
42
|
- name: Install Ruby ${{ matrix.ruby }}
|
43
43
|
uses: ruby/setup-ruby@v1
|
44
44
|
with:
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2023-
|
3
|
+
# on 2023-12-19 12:29:40 UTC using RuboCop version 1.57.2.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -15,6 +15,7 @@ Gemspec/DeprecatedAttributeAssignment:
|
|
15
15
|
- 'beaker-puppet.gemspec'
|
16
16
|
|
17
17
|
# Offense count: 2
|
18
|
+
# This cop supports safe autocorrection (--autocorrect).
|
18
19
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
19
20
|
Lint/AmbiguousBlockAssociation:
|
20
21
|
Exclude:
|
@@ -79,8 +80,14 @@ Lint/ParenthesesAsGroupedExpression:
|
|
79
80
|
- 'spec/beaker-puppet/helpers/facter_helpers_spec.rb'
|
80
81
|
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
81
82
|
|
82
|
-
# Offense count:
|
83
|
+
# Offense count: 1
|
83
84
|
# This cop supports safe autocorrection (--autocorrect).
|
85
|
+
Lint/RedundantCopDisableDirective:
|
86
|
+
Exclude:
|
87
|
+
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
88
|
+
|
89
|
+
# Offense count: 2
|
90
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
84
91
|
Lint/RedundantRequireStatement:
|
85
92
|
Exclude:
|
86
93
|
- 'spec/spec_helper.rb'
|
@@ -133,6 +140,7 @@ Lint/UnusedMethodArgument:
|
|
133
140
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
134
141
|
|
135
142
|
# Offense count: 17
|
143
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
136
144
|
Lint/UselessAssignment:
|
137
145
|
Exclude:
|
138
146
|
- 'acceptance/tests/clone_git_repo_on_test.rb'
|
@@ -276,12 +284,13 @@ Performance/StringReplacement:
|
|
276
284
|
- 'lib/beaker-puppet/install_utils/windows_utils.rb'
|
277
285
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
278
286
|
|
279
|
-
# Offense count:
|
287
|
+
# Offense count: 6
|
280
288
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
281
289
|
RSpec/BeEq:
|
282
290
|
Exclude:
|
283
291
|
- 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
|
284
292
|
- 'spec/beaker-puppet/install_utils/ezbake_utils_spec.rb'
|
293
|
+
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
285
294
|
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
286
295
|
|
287
296
|
# Offense count: 2
|
@@ -336,6 +345,12 @@ RSpec/EmptyLineAfterHook:
|
|
336
345
|
- 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
|
337
346
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
338
347
|
|
348
|
+
# Offense count: 1
|
349
|
+
# This cop supports safe autocorrection (--autocorrect).
|
350
|
+
RSpec/Eq:
|
351
|
+
Exclude:
|
352
|
+
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
353
|
+
|
339
354
|
# Offense count: 138
|
340
355
|
# Configuration parameters: CountAsOne.
|
341
356
|
RSpec/ExampleLength:
|
@@ -388,7 +403,7 @@ RSpec/HookArgument:
|
|
388
403
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
389
404
|
|
390
405
|
# Offense count: 2
|
391
|
-
# Configuration parameters: Max.
|
406
|
+
# Configuration parameters: Max, AllowedIdentifiers, AllowedPatterns.
|
392
407
|
RSpec/IndexedLet:
|
393
408
|
Exclude:
|
394
409
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
@@ -494,6 +509,16 @@ RSpec/ReceiveCounts:
|
|
494
509
|
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
495
510
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
496
511
|
|
512
|
+
# Offense count: 66
|
513
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
514
|
+
RSpec/ReceiveMessages:
|
515
|
+
Exclude:
|
516
|
+
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
517
|
+
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
518
|
+
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
519
|
+
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
520
|
+
- 'spec/helpers.rb'
|
521
|
+
|
497
522
|
# Offense count: 19
|
498
523
|
# This cop supports safe autocorrection (--autocorrect).
|
499
524
|
RSpec/ReceiveNever:
|
@@ -519,6 +544,24 @@ RSpec/ReturnFromStub:
|
|
519
544
|
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
520
545
|
- 'spec/beaker-puppet/install_utils/puppet5_spec.rb'
|
521
546
|
|
547
|
+
# Offense count: 11
|
548
|
+
# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata.
|
549
|
+
# Include: **/*_spec.rb
|
550
|
+
RSpec/SpecFilePathFormat:
|
551
|
+
Exclude:
|
552
|
+
- '**/spec/routing/**/*'
|
553
|
+
- 'spec/beaker-puppet/helpers/facter_helpers_spec.rb'
|
554
|
+
- 'spec/beaker-puppet/helpers/host_helpers_spec.rb'
|
555
|
+
- 'spec/beaker-puppet/helpers/puppet_helpers_spec.rb'
|
556
|
+
- 'spec/beaker-puppet/helpers/tk_helpers_spec.rb'
|
557
|
+
- 'spec/beaker-puppet/install_utils/ezbake_utils_spec.rb'
|
558
|
+
- 'spec/beaker-puppet/install_utils/foss_utils_spec.rb'
|
559
|
+
- 'spec/beaker-puppet/install_utils/module_utils_spec.rb'
|
560
|
+
- 'spec/beaker-puppet/install_utils/puppet5_spec.rb'
|
561
|
+
- 'spec/beaker-puppet/install_utils/puppet_utils_spec.rb'
|
562
|
+
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
563
|
+
- 'spec/beaker-puppet/wrappers_spec.rb'
|
564
|
+
|
522
565
|
# Offense count: 106
|
523
566
|
RSpec/StubbedMock:
|
524
567
|
Exclude:
|
@@ -642,11 +685,13 @@ Style/ClassAndModuleChildren:
|
|
642
685
|
|
643
686
|
# Offense count: 1
|
644
687
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
688
|
+
# Configuration parameters: AllowedReceivers.
|
645
689
|
Style/CollectionCompact:
|
646
690
|
Exclude:
|
647
691
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
648
692
|
|
649
693
|
# Offense count: 1
|
694
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
650
695
|
Style/CombinableLoops:
|
651
696
|
Exclude:
|
652
697
|
- 'spec/beaker-puppet/install_utils/windows_utils_spec.rb'
|
@@ -694,7 +739,7 @@ Style/IdenticalConditionalBranches:
|
|
694
739
|
- 'lib/beaker-puppet/helpers/tk_helpers.rb'
|
695
740
|
- 'lib/beaker-puppet/install_utils/ezbake_utils.rb'
|
696
741
|
|
697
|
-
# Offense count:
|
742
|
+
# Offense count: 13
|
698
743
|
# This cop supports safe autocorrection (--autocorrect).
|
699
744
|
Style/IfUnlessModifier:
|
700
745
|
Exclude:
|
@@ -736,7 +781,7 @@ Style/NonNilCheck:
|
|
736
781
|
Exclude:
|
737
782
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
738
783
|
|
739
|
-
# Offense count:
|
784
|
+
# Offense count: 11
|
740
785
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
741
786
|
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
742
787
|
# SupportedStyles: predicate, comparison
|
@@ -834,7 +879,7 @@ Style/ZeroLengthPredicate:
|
|
834
879
|
- 'lib/beaker-puppet/helpers/puppet_helpers.rb'
|
835
880
|
- 'lib/beaker-puppet/install_utils/foss_utils.rb'
|
836
881
|
|
837
|
-
# Offense count:
|
882
|
+
# Offense count: 122
|
838
883
|
# This cop supports safe autocorrection (--autocorrect).
|
839
884
|
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
|
840
885
|
# URISchemes: http, https
|