Skip to content

Commit ef0e7e2

Browse files
authored
Merge pull request #422 from voxpupuli/modulesync
modulesync 9.1.0
2 parents d131cbd + ad86c05 commit ef0e7e2

13 files changed

+96
-17
lines changed

.github/CONTRIBUTING.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -245,15 +245,23 @@ with:
245245
BEAKER_PUPPET_COLLECTION=puppet7 BEAKER_setfile=debian11-64 bundle exec rake beaker
246246
```
247247

248+
or
249+
250+
```sh
251+
BEAKER_PUPPET_COLLECTION=none BEAKER_setfile=archlinux-64 bundle exec rake beaker
252+
```
253+
254+
This latter example will use the distribution's own version of Puppet.
255+
248256
You can replace the string `debian11` with any common operating system.
249257
The following strings are known to work:
250258

251259
* ubuntu2004
252260
* ubuntu2204
253261
* debian11
254-
* centos7
255-
* centos8
262+
* debian12
256263
* centos9
264+
* archlinux
257265
* almalinux8
258266
* almalinux9
259267
* fedora36

.rspec .github/labeler.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
---
12
# Managed by modulesync - DO NOT EDIT
23
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
34

4-
--format documentation
5-
--color
5+
skip-changelog:
6+
- head-branch: ['^release-*', 'release']

.github/release.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
6+
7+
changelog:
8+
exclude:
9+
labels:
10+
- duplicate
11+
- invalid
12+
- modulesync
13+
- question
14+
- skip-changelog
15+
- wont-fix
16+
- wontfix
17+
18+
categories:
19+
- title: Breaking Changes 🛠
20+
labels:
21+
- backwards-incompatible
22+
23+
- title: New Features 🎉
24+
labels:
25+
- enhancement
26+
27+
- title: Bug Fixes 🐛
28+
labels:
29+
- bug
30+
31+
- title: Documentation Updates 📚
32+
labels:
33+
- documentation
34+
- docs
35+
36+
- title: Dependency Updates ⬆️
37+
labels:
38+
- dependencies
39+
40+
- title: Other Changes
41+
labels:
42+
- "*"

.github/workflows/ci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ jobs:
1919
puppet:
2020
name: Puppet
2121
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v2
22-
with:
23-
pidfile_workaround: 'false'

.github/workflows/labeler.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
name: "Pull Request Labeler"
6+
7+
on:
8+
pull_request_target: {}
9+
10+
jobs:
11+
labeler:
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/labeler@v5

.github/workflows/release.yml

+7
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,10 @@ jobs:
2020
# https://docs.github.com/en/actions/security-guides/encrypted-secrets
2121
username: ${{ secrets.PUPPET_FORGE_USERNAME }}
2222
api_key: ${{ secrets.PUPPET_FORGE_API_KEY }}
23+
24+
create-github-release:
25+
name: Create GitHub Release
26+
runs-on: ubuntu-latest
27+
steps:
28+
- name: Create GitHub release
29+
uses: voxpupuli/gha-create-a-github-release@v1

.msync.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Managed by modulesync - DO NOT EDIT
33
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
44

5-
modulesync_config_version: '7.4.0'
5+
modulesync_config_version: '9.1.0'

.overcommit.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ PreCommit:
4343
enabled: true
4444
description: 'Runs rubocop on modified files only'
4545
command: ['bundle', 'exec', 'rubocop']
46-
PuppetLint:
46+
RakeTarget:
4747
enabled: true
48-
description: 'Runs puppet-lint on modified files only'
49-
command: ['bundle', 'exec', 'puppet-lint']
48+
description: 'Runs lint on modified files only'
49+
targets:
50+
- 'lint'
51+
command: ['bundle', 'exec', 'rake']
5052
YamlSyntax:
5153
enabled: true
5254
JsonSyntax:

.puppet-lint.rc

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Managed by modulesync - DO NOT EDIT
2+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
3+
14
--fail-on-warnings
25
--no-parameter_documentation-check
36
--no-parameter_types-check

.rspec_parallel

-4
This file was deleted.

.sync.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Gemfile:
55
- gem: puppet-lint-param-docs
66
spec/spec_helper.rb:
77
spec_overrides:
8-
- "require 'support/acceptance/constants.rb'"
8+
- "require 'support/acceptance/constants'"

Gemfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
55

66
group :test do
7-
gem 'voxpupuli-test', '~> 7.0', :require => false
7+
gem 'voxpupuli-test', '~> 9.0', :require => false
88
gem 'coveralls', :require => false
99
gem 'simplecov-console', :require => false
10-
gem 'puppet_metadata', '~> 3.5', :require => false
10+
gem 'puppet_metadata', '~> 4.0', :require => false
1111
gem 'puppet-lint-param-docs', :require => false
1212
end
1313

spec/spec_helper.rb

+5
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010
require 'voxpupuli/test/spec_helper'
1111

12+
RSpec.configure do |c|
13+
c.facterdb_string_keys = false
14+
end
15+
1216
add_mocked_facts!
1317

1418
if File.exist?(File.join(__dir__, 'default_module_facts.yml'))
@@ -18,4 +22,5 @@
1822
end
1923
end
2024

25+
require 'support/acceptance/constants'
2126
Dir['./spec/support/spec/**/*.rb'].sort.each { |f| require f }

0 commit comments

Comments
 (0)