beaker-hiera 0.4.0 → 0.6.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/dependabot.yml +17 -0
- data/.github/workflows/release.yml +17 -7
- data/.github/workflows/test.yml +41 -12
- data/.rubocop.yml +6 -0
- data/.rubocop_todo.yml +73 -0
- data/CHANGELOG.md +84 -0
- data/Gemfile +5 -0
- data/Rakefile +28 -0
- data/beaker-hiera.gemspec +5 -10
- data/lib/beaker-hiera/helpers.rb +2 -2
- data/lib/beaker-hiera/version.rb +1 -1
- metadata +26 -45
- data/HISTORY.md +0 -39
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb77aa5ce898f9f4722b09efa970d546e19c3e1c4f2d245ce50322cf01522e04
|
|
4
|
+
data.tar.gz: d065cefe4ee313132d5728ad657c2da68188ab0fab4c8e63298634c790de1684
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 463c83684e9f8e2482426874ef7afc35ae91a39086b5fb0a7e71761bd28e6a6c660f1ceeb7bc26f57ed315c1fef351b6ad42ee0b5f0dae893ec0d33142aca703
|
|
7
|
+
data.tar.gz: a47500a6d076eef1e25ad994d54de397e51a9525be12892d573fedc433519922b7ff7da31f7a5334b1d6dbf6da47863b0f69eb9ab0b23ea6f795dff186f29dbb
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
# raise PRs for gem updates
|
|
4
|
+
- package-ecosystem: bundler
|
|
5
|
+
directory: "/"
|
|
6
|
+
schedule:
|
|
7
|
+
interval: daily
|
|
8
|
+
time: "13:00"
|
|
9
|
+
open-pull-requests-limit: 10
|
|
10
|
+
|
|
11
|
+
# Maintain dependencies for GitHub Actions
|
|
12
|
+
- package-ecosystem: github-actions
|
|
13
|
+
directory: "/"
|
|
14
|
+
schedule:
|
|
15
|
+
interval: daily
|
|
16
|
+
time: "13:00"
|
|
17
|
+
open-pull-requests-limit: 10
|
|
@@ -1,22 +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
|
+
if: github.repository_owner == 'voxpupuli'
|
|
11
12
|
steps:
|
|
12
|
-
- uses: actions/checkout@
|
|
13
|
-
- name: Install Ruby
|
|
13
|
+
- uses: actions/checkout@v3
|
|
14
|
+
- name: Install Ruby 3.0
|
|
14
15
|
uses: ruby/setup-ruby@v1
|
|
15
16
|
with:
|
|
16
|
-
ruby-version: '
|
|
17
|
+
ruby-version: '3.0'
|
|
18
|
+
env:
|
|
19
|
+
BUNDLE_WITHOUT: release:development:rubocop
|
|
17
20
|
- name: Build gem
|
|
18
21
|
run: gem build *.gemspec
|
|
19
|
-
- name: Publish gem
|
|
22
|
+
- name: Publish gem to rubygems.org
|
|
20
23
|
run: gem push *.gem
|
|
21
24
|
env:
|
|
22
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
|
@@ -1,28 +1,57 @@
|
|
|
1
1
|
name: Test
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
pull_request: {}
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- master
|
|
8
|
+
|
|
9
|
+
env:
|
|
10
|
+
BUNDLE_WITHOUT: release
|
|
6
11
|
|
|
7
12
|
jobs:
|
|
8
|
-
|
|
13
|
+
rubocop:
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
steps:
|
|
16
|
+
- uses: actions/checkout@v3
|
|
17
|
+
- name: Install Ruby ${{ matrix.ruby }}
|
|
18
|
+
uses: ruby/setup-ruby@v1
|
|
19
|
+
with:
|
|
20
|
+
ruby-version: "2.7"
|
|
21
|
+
bundler-cache: true
|
|
22
|
+
- name: Run Rubocop
|
|
23
|
+
run: bundle exec rake rubocop
|
|
24
|
+
spec:
|
|
9
25
|
runs-on: ubuntu-latest
|
|
10
26
|
strategy:
|
|
11
27
|
fail-fast: false
|
|
12
28
|
matrix:
|
|
13
|
-
|
|
14
|
-
- "2.
|
|
15
|
-
|
|
16
|
-
- "
|
|
17
|
-
- "
|
|
18
|
-
- "3.
|
|
19
|
-
|
|
29
|
+
include:
|
|
30
|
+
- ruby: "2.7"
|
|
31
|
+
coverage: "yes"
|
|
32
|
+
- ruby: "3.0"
|
|
33
|
+
- ruby: "3.1"
|
|
34
|
+
- ruby: "3.2"
|
|
35
|
+
env:
|
|
36
|
+
COVERAGE: ${{ matrix.coverage }}
|
|
37
|
+
name: RSpec - Ruby ${{ matrix.ruby }}
|
|
20
38
|
steps:
|
|
21
|
-
- uses: actions/checkout@
|
|
39
|
+
- uses: actions/checkout@v3
|
|
22
40
|
- name: Install Ruby ${{ matrix.ruby }}
|
|
23
41
|
uses: ruby/setup-ruby@v1
|
|
24
42
|
with:
|
|
25
43
|
ruby-version: ${{ matrix.ruby }}
|
|
26
44
|
bundler-cache: true
|
|
27
|
-
- name:
|
|
45
|
+
- name: spec tests
|
|
28
46
|
run: bundle exec rake test
|
|
47
|
+
- name: Build gem
|
|
48
|
+
run: gem build *.gemspec
|
|
49
|
+
|
|
50
|
+
tests:
|
|
51
|
+
needs:
|
|
52
|
+
- spec
|
|
53
|
+
- rubocop
|
|
54
|
+
runs-on: ubuntu-latest
|
|
55
|
+
name: Test suite
|
|
56
|
+
steps:
|
|
57
|
+
- run: echo Test suite completed
|
data/.rubocop.yml
ADDED
data/.rubocop_todo.yml
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# This configuration was generated by
|
|
2
|
+
# `rubocop --auto-gen-config`
|
|
3
|
+
# on 2023-05-05 10:34:45 UTC using RuboCop version 1.50.2.
|
|
4
|
+
# The point is for the user to remove these configuration records
|
|
5
|
+
# one by one as the offenses are removed from the code base.
|
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
+
|
|
9
|
+
# Offense count: 1
|
|
10
|
+
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
|
11
|
+
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
|
|
12
|
+
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
|
13
|
+
Naming/FileName:
|
|
14
|
+
Exclude:
|
|
15
|
+
- 'lib/beaker-hiera.rb'
|
|
16
|
+
|
|
17
|
+
# Offense count: 1
|
|
18
|
+
# Configuration parameters: Include, CustomTransform, IgnoreMethods, SpecSuffixOnly.
|
|
19
|
+
# Include: **/*_spec*rb*, **/spec/**/*
|
|
20
|
+
RSpec/FilePath:
|
|
21
|
+
Exclude:
|
|
22
|
+
- 'spec/beaker-hiera/helpers_spec.rb'
|
|
23
|
+
|
|
24
|
+
# Offense count: 6
|
|
25
|
+
# Configuration parameters: .
|
|
26
|
+
# SupportedStyles: have_received, receive
|
|
27
|
+
RSpec/MessageSpies:
|
|
28
|
+
EnforcedStyle: receive
|
|
29
|
+
|
|
30
|
+
# Offense count: 2
|
|
31
|
+
RSpec/MultipleExpectations:
|
|
32
|
+
Max: 2
|
|
33
|
+
|
|
34
|
+
# Offense count: 11
|
|
35
|
+
# Configuration parameters: EnforcedStyle, IgnoreSharedExamples.
|
|
36
|
+
# SupportedStyles: always, named_only
|
|
37
|
+
RSpec/NamedSubject:
|
|
38
|
+
Exclude:
|
|
39
|
+
- 'spec/beaker-hiera/helpers_spec.rb'
|
|
40
|
+
|
|
41
|
+
# Offense count: 2
|
|
42
|
+
RSpec/StubbedMock:
|
|
43
|
+
Exclude:
|
|
44
|
+
- 'spec/beaker-hiera/helpers_spec.rb'
|
|
45
|
+
|
|
46
|
+
# Offense count: 6
|
|
47
|
+
RSpec/SubjectStub:
|
|
48
|
+
Exclude:
|
|
49
|
+
- 'spec/beaker-hiera/helpers_spec.rb'
|
|
50
|
+
|
|
51
|
+
# Offense count: 1
|
|
52
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
53
|
+
# Configuration parameters: .
|
|
54
|
+
# SupportedStyles: constant, string
|
|
55
|
+
RSpec/VerifiedDoubleReference:
|
|
56
|
+
EnforcedStyle: string
|
|
57
|
+
|
|
58
|
+
# Offense count: 10
|
|
59
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
60
|
+
# Configuration parameters: EnforcedStyle.
|
|
61
|
+
# SupportedStyles: always, always_true, never
|
|
62
|
+
Style/FrozenStringLiteralComment:
|
|
63
|
+
Exclude:
|
|
64
|
+
- '.simplecov'
|
|
65
|
+
- 'Gemfile'
|
|
66
|
+
- 'Rakefile'
|
|
67
|
+
- 'beaker-hiera.gemspec'
|
|
68
|
+
- 'bin/beaker-hiera'
|
|
69
|
+
- 'lib/beaker-hiera.rb'
|
|
70
|
+
- 'lib/beaker-hiera/helpers.rb'
|
|
71
|
+
- 'lib/beaker-hiera/version.rb'
|
|
72
|
+
- 'spec/beaker-hiera/helpers_spec.rb'
|
|
73
|
+
- 'spec/spec_helper.rb'
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.6.0](https://github.com/voxpupuli/beaker-hiera/tree/0.6.0) (2023-05-05)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/0.5.0...0.6.0)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- GCG: Add faraday-retry dep [\#26](https://github.com/voxpupuli/beaker-hiera/pull/26) ([bastelfreak](https://github.com/bastelfreak))
|
|
10
|
+
- switch to voxpupuli-rubocop and cleanup gemspec [\#25](https://github.com/voxpupuli/beaker-hiera/pull/25) ([bastelfreak](https://github.com/bastelfreak))
|
|
11
|
+
- Update release workflow for Vox Pupuli standard [\#24](https://github.com/voxpupuli/beaker-hiera/pull/24) ([bastelfreak](https://github.com/bastelfreak))
|
|
12
|
+
|
|
13
|
+
## [0.5.0](https://github.com/voxpupuli/beaker-hiera/tree/0.5.0) (2023-03-28)
|
|
14
|
+
|
|
15
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/0.4.0...0.5.0)
|
|
16
|
+
|
|
17
|
+
**Breaking changes:**
|
|
18
|
+
|
|
19
|
+
- update to beaker 5; Drop Ruby 2.4/2.5/2.6 support [\#19](https://github.com/voxpupuli/beaker-hiera/pull/19) ([rwaffen](https://github.com/rwaffen))
|
|
20
|
+
|
|
21
|
+
**Closed issues:**
|
|
22
|
+
|
|
23
|
+
- update to beaker 5 [\#18](https://github.com/voxpupuli/beaker-hiera/issues/18)
|
|
24
|
+
|
|
25
|
+
**Merged pull requests:**
|
|
26
|
+
|
|
27
|
+
- Bump actions/checkout from 2 to 3 [\#23](https://github.com/voxpupuli/beaker-hiera/pull/23) ([dependabot[bot]](https://github.com/apps/dependabot))
|
|
28
|
+
- Implement rubocop & fix violations [\#22](https://github.com/voxpupuli/beaker-hiera/pull/22) ([bastelfreak](https://github.com/bastelfreak))
|
|
29
|
+
- dependabot: check for github actions and gems [\#21](https://github.com/voxpupuli/beaker-hiera/pull/21) ([bastelfreak](https://github.com/bastelfreak))
|
|
30
|
+
|
|
31
|
+
## [0.4.0](https://github.com/voxpupuli/beaker-hiera/tree/0.4.0) (2021-05-19)
|
|
32
|
+
|
|
33
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/0.3.0...0.4.0)
|
|
34
|
+
|
|
35
|
+
**Implemented enhancements:**
|
|
36
|
+
|
|
37
|
+
- Support Ruby 3 [\#16](https://github.com/voxpupuli/beaker-hiera/pull/16) ([ekohl](https://github.com/ekohl))
|
|
38
|
+
|
|
39
|
+
**Fixed bugs:**
|
|
40
|
+
|
|
41
|
+
- Handle an array of hosts in copy\_hiera\_data\_to [\#15](https://github.com/voxpupuli/beaker-hiera/pull/15) ([ekohl](https://github.com/ekohl))
|
|
42
|
+
|
|
43
|
+
## [0.3.0](https://github.com/voxpupuli/beaker-hiera/tree/0.3.0) (2021-05-18)
|
|
44
|
+
|
|
45
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/0.2.0...0.3.0)
|
|
46
|
+
|
|
47
|
+
**Merged pull requests:**
|
|
48
|
+
|
|
49
|
+
- Release 0.3.0 [\#14](https://github.com/voxpupuli/beaker-hiera/pull/14) ([ekohl](https://github.com/ekohl))
|
|
50
|
+
- Update Github actions [\#13](https://github.com/voxpupuli/beaker-hiera/pull/13) ([ekohl](https://github.com/ekohl))
|
|
51
|
+
- Update the authors, email and homepage to VP [\#12](https://github.com/voxpupuli/beaker-hiera/pull/12) ([ekohl](https://github.com/ekohl))
|
|
52
|
+
- Require Ruby ~\> 2.4 [\#11](https://github.com/voxpupuli/beaker-hiera/pull/11) ([ekohl](https://github.com/ekohl))
|
|
53
|
+
- Use ruby/setup-ruby action [\#10](https://github.com/voxpupuli/beaker-hiera/pull/10) ([ekohl](https://github.com/ekohl))
|
|
54
|
+
- Correct documentation strings [\#9](https://github.com/voxpupuli/beaker-hiera/pull/9) ([ekohl](https://github.com/ekohl))
|
|
55
|
+
- Clean up specs [\#8](https://github.com/voxpupuli/beaker-hiera/pull/8) ([ekohl](https://github.com/ekohl))
|
|
56
|
+
- Indicate the project is not EOL and add example [\#7](https://github.com/voxpupuli/beaker-hiera/pull/7) ([ekohl](https://github.com/ekohl))
|
|
57
|
+
- Always prefer codedir for hieradata [\#6](https://github.com/voxpupuli/beaker-hiera/pull/6) ([ekohl](https://github.com/ekohl))
|
|
58
|
+
- Do not shadow a variable & inline hash definition [\#5](https://github.com/voxpupuli/beaker-hiera/pull/5) ([ekohl](https://github.com/ekohl))
|
|
59
|
+
- Add Github actions for CI + clean up gem deps [\#4](https://github.com/voxpupuli/beaker-hiera/pull/4) ([ekohl](https://github.com/ekohl))
|
|
60
|
+
|
|
61
|
+
## [0.2.0](https://github.com/voxpupuli/beaker-hiera/tree/0.2.0) (2020-11-10)
|
|
62
|
+
|
|
63
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/0.1.1...0.2.0)
|
|
64
|
+
|
|
65
|
+
**Merged pull requests:**
|
|
66
|
+
|
|
67
|
+
- Release 0.2.0 before moving the repo to Vox Pupuli [\#3](https://github.com/voxpupuli/beaker-hiera/pull/3) ([lucywyman](https://github.com/lucywyman))
|
|
68
|
+
- \(BKR-1500\) Mothball beaker-hiera [\#2](https://github.com/voxpupuli/beaker-hiera/pull/2) ([Dakta](https://github.com/Dakta))
|
|
69
|
+
|
|
70
|
+
## [0.1.1](https://github.com/voxpupuli/beaker-hiera/tree/0.1.1) (2015-10-14)
|
|
71
|
+
|
|
72
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/0.1.0...0.1.1)
|
|
73
|
+
|
|
74
|
+
**Merged pull requests:**
|
|
75
|
+
|
|
76
|
+
- \(BKR-562\) removed leftover spec lines [\#1](https://github.com/voxpupuli/beaker-hiera/pull/1) ([kevpl](https://github.com/kevpl))
|
|
77
|
+
|
|
78
|
+
## [0.1.0](https://github.com/voxpupuli/beaker-hiera/tree/0.1.0) (2015-09-08)
|
|
79
|
+
|
|
80
|
+
[Full Changelog](https://github.com/voxpupuli/beaker-hiera/compare/84dbbc6be29c41e74d862665fe9aa9dd7bbacb18...0.1.0)
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
|
@@ -14,3 +14,31 @@ RSpec::Core::RakeTask.new(:coverage) do |t|
|
|
|
14
14
|
end
|
|
15
15
|
|
|
16
16
|
task default: :test
|
|
17
|
+
|
|
18
|
+
begin
|
|
19
|
+
require 'rubygems'
|
|
20
|
+
require 'github_changelog_generator/task'
|
|
21
|
+
rescue LoadError
|
|
22
|
+
# github_changelog_generator is an optional release
|
|
23
|
+
else
|
|
24
|
+
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
25
|
+
config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog]
|
|
26
|
+
config.user = 'voxpupuli'
|
|
27
|
+
config.project = 'beaker-hiera'
|
|
28
|
+
gem_version = Gem::Specification.load("#{config.project}.gemspec").version
|
|
29
|
+
config.future_release = gem_version
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
begin
|
|
34
|
+
require 'rubocop/rake_task'
|
|
35
|
+
rescue LoadError
|
|
36
|
+
# RuboCop is an optional group
|
|
37
|
+
else
|
|
38
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
|
39
|
+
# These make the rubocop experience maybe slightly less terrible
|
|
40
|
+
task.options = ['--display-cop-names', '--display-style-guide', '--extra-details']
|
|
41
|
+
# Use Rubocop's Github Actions formatter if possible
|
|
42
|
+
task.formatters << 'github' if ENV['GITHUB_ACTIONS']
|
|
43
|
+
end
|
|
44
|
+
end
|
data/beaker-hiera.gemspec
CHANGED
|
@@ -9,26 +9,21 @@ Gem::Specification.new do |s|
|
|
|
9
9
|
s.homepage = 'https://github.com/voxpupuli/beaker-hiera'
|
|
10
10
|
s.summary = 'Hiera DSL Helpers!'
|
|
11
11
|
s.description = 'For use for the Beaker acceptance testing tool'
|
|
12
|
-
s.license = '
|
|
12
|
+
s.license = 'Apache-2.0'
|
|
13
13
|
|
|
14
14
|
s.files = `git ls-files`.split("\n")
|
|
15
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
16
15
|
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
|
17
16
|
s.require_paths = ['lib']
|
|
18
17
|
|
|
19
|
-
s.required_ruby_version = '>= 2.
|
|
18
|
+
s.required_ruby_version = '>= 2.7', '< 4'
|
|
20
19
|
|
|
21
20
|
# Testing dependencies
|
|
22
21
|
s.add_development_dependency 'pry', '~> 0.10'
|
|
23
22
|
s.add_development_dependency 'rake', '~> 13.0'
|
|
24
23
|
s.add_development_dependency 'rspec', '~> 3.0'
|
|
25
|
-
s.add_development_dependency 'simplecov'
|
|
26
|
-
|
|
27
|
-
# Documentation dependencies
|
|
28
|
-
s.add_development_dependency 'markdown'
|
|
29
|
-
s.add_development_dependency 'thin'
|
|
30
|
-
s.add_development_dependency 'yard'
|
|
24
|
+
s.add_development_dependency 'simplecov', '~> 0.22.0'
|
|
25
|
+
s.add_development_dependency 'voxpupuli-rubocop', '~> 1.2'
|
|
31
26
|
|
|
32
27
|
# Run time dependencies
|
|
33
|
-
s.add_runtime_dependency 'beaker', '
|
|
28
|
+
s.add_runtime_dependency 'beaker', '>= 4', '< 6'
|
|
34
29
|
end
|
data/lib/beaker-hiera/helpers.rb
CHANGED
|
@@ -16,10 +16,10 @@ module Beaker
|
|
|
16
16
|
hiera_config = {
|
|
17
17
|
backends: 'yaml',
|
|
18
18
|
yaml: {
|
|
19
|
-
datadir: hiera_datadir(hst)
|
|
19
|
+
datadir: hiera_datadir(hst),
|
|
20
20
|
},
|
|
21
21
|
hierarchy: hierarchy,
|
|
22
|
-
logger: 'console'
|
|
22
|
+
logger: 'console',
|
|
23
23
|
}
|
|
24
24
|
create_remote_file hst, hst.puppet['hiera_config'], hiera_config.to_yaml
|
|
25
25
|
end
|
data/lib/beaker-hiera/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: beaker-hiera
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vox Pupuli
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2023-05-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: pry
|
|
@@ -57,72 +57,50 @@ dependencies:
|
|
|
57
57
|
name: simplecov
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
|
-
- - "
|
|
60
|
+
- - "~>"
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version:
|
|
62
|
+
version: 0.22.0
|
|
63
63
|
type: :development
|
|
64
64
|
prerelease: false
|
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
|
-
- - "
|
|
67
|
+
- - "~>"
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version:
|
|
69
|
+
version: 0.22.0
|
|
70
70
|
- !ruby/object:Gem::Dependency
|
|
71
|
-
name:
|
|
71
|
+
name: voxpupuli-rubocop
|
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
|
73
73
|
requirements:
|
|
74
|
-
- - "
|
|
74
|
+
- - "~>"
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: '
|
|
76
|
+
version: '1.2'
|
|
77
77
|
type: :development
|
|
78
78
|
prerelease: false
|
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
|
80
80
|
requirements:
|
|
81
|
-
- - "
|
|
81
|
+
- - "~>"
|
|
82
82
|
- !ruby/object:Gem::Version
|
|
83
|
-
version: '
|
|
83
|
+
version: '1.2'
|
|
84
84
|
- !ruby/object:Gem::Dependency
|
|
85
|
-
name:
|
|
85
|
+
name: beaker
|
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
|
87
87
|
requirements:
|
|
88
88
|
- - ">="
|
|
89
89
|
- !ruby/object:Gem::Version
|
|
90
|
-
version: '
|
|
91
|
-
|
|
92
|
-
prerelease: false
|
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
94
|
-
requirements:
|
|
95
|
-
- - ">="
|
|
96
|
-
- !ruby/object:Gem::Version
|
|
97
|
-
version: '0'
|
|
98
|
-
- !ruby/object:Gem::Dependency
|
|
99
|
-
name: yard
|
|
100
|
-
requirement: !ruby/object:Gem::Requirement
|
|
101
|
-
requirements:
|
|
102
|
-
- - ">="
|
|
90
|
+
version: '4'
|
|
91
|
+
- - "<"
|
|
103
92
|
- !ruby/object:Gem::Version
|
|
104
|
-
version: '
|
|
105
|
-
type: :
|
|
93
|
+
version: '6'
|
|
94
|
+
type: :runtime
|
|
106
95
|
prerelease: false
|
|
107
96
|
version_requirements: !ruby/object:Gem::Requirement
|
|
108
97
|
requirements:
|
|
109
98
|
- - ">="
|
|
110
99
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: '
|
|
112
|
-
-
|
|
113
|
-
name: beaker
|
|
114
|
-
requirement: !ruby/object:Gem::Requirement
|
|
115
|
-
requirements:
|
|
116
|
-
- - "~>"
|
|
117
|
-
- !ruby/object:Gem::Version
|
|
118
|
-
version: '4.0'
|
|
119
|
-
type: :runtime
|
|
120
|
-
prerelease: false
|
|
121
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
122
|
-
requirements:
|
|
123
|
-
- - "~>"
|
|
100
|
+
version: '4'
|
|
101
|
+
- - "<"
|
|
124
102
|
- !ruby/object:Gem::Version
|
|
125
|
-
version: '
|
|
103
|
+
version: '6'
|
|
126
104
|
description: For use for the Beaker acceptance testing tool
|
|
127
105
|
email:
|
|
128
106
|
- voxpupuli@groups.io
|
|
@@ -131,13 +109,16 @@ executables:
|
|
|
131
109
|
extensions: []
|
|
132
110
|
extra_rdoc_files: []
|
|
133
111
|
files:
|
|
112
|
+
- ".github/dependabot.yml"
|
|
134
113
|
- ".github/workflows/release.yml"
|
|
135
114
|
- ".github/workflows/test.yml"
|
|
136
115
|
- ".gitignore"
|
|
137
116
|
- ".rspec"
|
|
117
|
+
- ".rubocop.yml"
|
|
118
|
+
- ".rubocop_todo.yml"
|
|
138
119
|
- ".simplecov"
|
|
120
|
+
- CHANGELOG.md
|
|
139
121
|
- Gemfile
|
|
140
|
-
- HISTORY.md
|
|
141
122
|
- LICENSE
|
|
142
123
|
- README.md
|
|
143
124
|
- Rakefile
|
|
@@ -150,7 +131,7 @@ files:
|
|
|
150
131
|
- spec/spec_helper.rb
|
|
151
132
|
homepage: https://github.com/voxpupuli/beaker-hiera
|
|
152
133
|
licenses:
|
|
153
|
-
-
|
|
134
|
+
- Apache-2.0
|
|
154
135
|
metadata: {}
|
|
155
136
|
post_install_message:
|
|
156
137
|
rdoc_options: []
|
|
@@ -160,7 +141,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
160
141
|
requirements:
|
|
161
142
|
- - ">="
|
|
162
143
|
- !ruby/object:Gem::Version
|
|
163
|
-
version: '2.
|
|
144
|
+
version: '2.7'
|
|
164
145
|
- - "<"
|
|
165
146
|
- !ruby/object:Gem::Version
|
|
166
147
|
version: '4'
|
|
@@ -170,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
170
151
|
- !ruby/object:Gem::Version
|
|
171
152
|
version: '0'
|
|
172
153
|
requirements: []
|
|
173
|
-
rubygems_version: 3.
|
|
154
|
+
rubygems_version: 3.2.33
|
|
174
155
|
signing_key:
|
|
175
156
|
specification_version: 4
|
|
176
157
|
summary: Hiera DSL Helpers!
|
data/HISTORY.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# default - History
|
|
2
|
-
## Tags
|
|
3
|
-
* [0.3.0 - 18 May, 2021](#0.2.1)
|
|
4
|
-
* [0.2.0 - 10 Nov, 2020](#0.2.0)
|
|
5
|
-
* [0.1.1 - 14 Oct, 2.05 (a23d45bc)](#0.1.1)
|
|
6
|
-
* [0.1.0 - 8 Sep, 2.05 (7d1ef9b6)](#0.1.0)
|
|
7
|
-
|
|
8
|
-
## Details
|
|
9
|
-
|
|
10
|
-
### <a name = "0.4.0">0.4.0 - 19 May, 2021
|
|
11
|
-
|
|
12
|
-
* Support Ruby 3
|
|
13
|
-
* Handle an array of hosts in copy_hiera_data_to
|
|
14
|
-
|
|
15
|
-
### <a name = "0.3.0">0.3.0 - 18 May, 2021
|
|
16
|
-
|
|
17
|
-
* Major update to work with Beaker 4
|
|
18
|
-
|
|
19
|
-
### <a name = "0.2.0">0.2.0 - 10 Nov, 2020
|
|
20
|
-
|
|
21
|
-
* Release before moving to Vox Pupuli
|
|
22
|
-
|
|
23
|
-
### <a name = "0.1.1">0.1.1 - 14 Oct, 2.05 (a23d45bc)
|
|
24
|
-
|
|
25
|
-
* (GEM) update beaker-hiera version to 0.1.1 (a23d45bc)
|
|
26
|
-
|
|
27
|
-
* Merge pull request #1 from puppetlabs/bkr562_spec_audit (2693ec4f)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
Merge pull request #1 from puppetlabs/bkr562_spec_audit
|
|
32
|
-
|
|
33
|
-
(BKR-562) removed leftover spec lines
|
|
34
|
-
```
|
|
35
|
-
* (BKR-562) removed leftover spec lines (c348c5e9)
|
|
36
|
-
|
|
37
|
-
### <a name = "0.1.0">0.1.0 - 8 Sep, 2.05 (7d1ef9b6)
|
|
38
|
-
|
|
39
|
-
* Initial release.
|