Skip to content

Commit 299c4fc

Browse files
authored
Merge pull request #1192 from voxpupuli/modulesync
modulesync 7.3.0; allow stdlib 9.x
2 parents 1a35468 + 72812af commit 299c4fc

34 files changed

+96
-67
lines changed

.github/CONTRIBUTING.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,18 +232,21 @@ simple tests against it after applying the module. You can run this
232232
with:
233233

234234
```sh
235-
BEAKER_setfile=debian11-64 bundle exec rake beaker
235+
BEAKER_PUPPET_COLLECTION=puppet7 BEAKER_setfile=debian11-64 bundle exec rake beaker
236236
```
237237

238-
You can replace the string `debian10` with any common operating system.
238+
You can replace the string `debian11` with any common operating system.
239239
The following strings are known to work:
240240

241-
* ubuntu1804
242241
* ubuntu2004
243-
* debian10
242+
* ubuntu2204
244243
* debian11
245244
* centos7
246245
* centos8
246+
* centos9
247+
* almalinux8
248+
* almalinux9
249+
* fedora36
247250

248251
For more information and tips & tricks, see [voxpupuli-acceptance's documentation](https://github.com/voxpupuli/voxpupuli-acceptance#running-tests).
249252

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44

55
name: CI
66

7-
on: pull_request
7+
on:
8+
pull_request: {}
9+
push:
10+
branches:
11+
- main
12+
- master
813

914
concurrency:
1015
group: ${{ github.ref_name }}
@@ -13,6 +18,6 @@ concurrency:
1318
jobs:
1419
puppet:
1520
name: Puppet
16-
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v1
21+
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v2
1722
with:
1823
pidfile_workaround: 'false'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
release:
1414
name: Release
15-
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v1
15+
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v2
1616
with:
1717
allowed_owner: 'voxpupuli'
1818
secrets:

.msync.yml

Lines changed: 1 addition & 1 deletion
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: '5.5.0'
5+
modulesync_config_version: '7.3.0'

.pmtignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@
3535
/.yardoc/
3636
/.yardopts
3737
/Dockerfile
38+
/HISTORY.md

.rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
inherit_from: .rubocop_todo.yml
3+
24
# Managed by modulesync - DO NOT EDIT
35
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
46

.rubocop_todo.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This configuration was generated by
2+
# `rubocop --auto-gen-config`
3+
# on 2024-02-11 16:22:05 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: 32
10+
# Configuration parameters: Max.
11+
RSpec/IndexedLet:
12+
Exclude:
13+
- 'spec/unit/provider/elasticsearch_component_template/ruby_spec.rb'
14+
- 'spec/unit/provider/elasticsearch_ilm_policy/ruby_spec.rb'
15+
- 'spec/unit/provider/elasticsearch_index/ruby_spec.rb'
16+
- 'spec/unit/provider/elasticsearch_index_template/ruby_spec.rb'
17+
- 'spec/unit/provider/elasticsearch_pipeline/ruby_spec.rb'
18+
- 'spec/unit/provider/elasticsearch_slm_policy/ruby_spec.rb'
19+
- 'spec/unit/provider/elasticsearch_snapshot_repository/ruby_spec.rb'
20+
- 'spec/unit/provider/elasticsearch_template/ruby_spec.rb'

Gemfile

Lines changed: 5 additions & 6 deletions
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', '~> 5.4', :require => false
7+
gem 'voxpupuli-test', '~> 7.0', :require => false
88
gem 'coveralls', :require => false
99
gem 'simplecov-console', :require => false
10-
gem 'puppet_metadata', '~> 2.0', :require => false
10+
gem 'puppet_metadata', '~> 3.5', :require => false
1111
gem 'bcrypt', :require => false
1212
gem 'webmock', :require => false
1313
end
@@ -18,21 +18,20 @@ group :development do
1818
end
1919

2020
group :system_tests do
21-
gem 'voxpupuli-acceptance', '~> 1.0', :require => false
21+
gem 'voxpupuli-acceptance', '~> 3.0', :require => false
2222
gem 'bcrypt', :require => false
2323
gem 'rspec-retry', :require => false
2424
gem 'simp-beaker-helpers', :require => false
2525
end
2626

2727
group :release do
28-
gem 'github_changelog_generator', '>= 1.16.1', :require => false if RUBY_VERSION >= '2.5'
29-
gem 'voxpupuli-release', '~> 2.0', :require => false
28+
gem 'voxpupuli-release', '~> 3.0', :require => false
3029
end
3130

3231
gem 'rake', :require => false
3332
gem 'facter', ENV['FACTER_GEM_VERSION'], :require => false, :groups => [:test]
3433

35-
puppetversion = ENV['PUPPET_GEM_VERSION'] || '>= 6.0'
34+
puppetversion = ENV['PUPPET_GEM_VERSION'] || '~> 7.24'
3635
gem 'puppet', puppetversion, :require => false, :groups => [:test]
3736

3837
# vim: syntax=ruby

lib/puppet/parser/functions/concat_merge.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module Puppet::Parser::Functions
55
newfunction(
66
:concat_merge,
77
type: :rvalue,
8-
doc: <<-'ENDHEREDOC') do |args|
8+
doc: <<-ENDHEREDOC) do |args|
99
Merges two or more hashes together concatenating duplicate keys
1010
with array values and returns the resulting hash.
1111

lib/puppet/parser/functions/deep_implode.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Puppet::Parser::Functions
99
newfunction(
1010
:deep_implode,
1111
type: :rvalue,
12-
doc: <<-'ENDHEREDOC') do |args|
12+
doc: <<-ENDHEREDOC) do |args|
1313
Recursively flattens all keys of a hash into a dot-notated
1414
hash, deeply merging duplicate key values by natively combining
1515
them and returns the resulting hash.

0 commit comments

Comments
 (0)