Skip to content

Commit 78c2a42

Browse files
authored
Merge pull request #75 from opus-codium/sync-with-voxpupuli
Sync with VoxPupuli
2 parents 54ead98 + e3eb816 commit 78c2a42

File tree

8 files changed

+20
-5
lines changed

8 files changed

+20
-5
lines changed

moduleroot/.github/labeler.yml.erb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
5+
modulesync:
6+
- head-branch: ['modulesync']
27
skip-changelog:
38
- head-branch: ['^release-*', 'release']

moduleroot/.github/workflows/ci.yml.erb

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

55
name: CI
66

7+
# yamllint disable-line rule:truthy
78
on:
89
pull_request: {}
910
push:
@@ -20,9 +21,9 @@ jobs:
2021
puppet:
2122
name: Puppet
2223
<%- if @configs['acceptance_tests'] && Dir[File.join(@metadata[:workdir], 'spec', 'acceptance', '**', '*_spec.rb')].any? -%>
23-
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v2
24+
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v3
2425
<%- else -%>
25-
uses: voxpupuli/gha-puppet/.github/workflows/basic.yml@v2
26+
uses: voxpupuli/gha-puppet/.github/workflows/basic.yml@v3
2627
<%- end -%>
2728
<%- if @configs['with'] -%>
2829
with:

moduleroot/.github/workflows/labeler.yml renamed to moduleroot/.github/workflows/labeler.yml.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
2+
# Managed by modulesync - DO NOT EDIT
3+
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/
4+
25
name: "Pull Request Labeler"
36

7+
# yamllint disable-line rule:truthy
48
on:
59
pull_request_target: {}
610

moduleroot/.github/workflows/release.yml.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
name: Release
66

7+
# yamllint disable-line rule:truthy
78
on:
89
push:
910
tags:
@@ -12,7 +13,7 @@ on:
1213
jobs:
1314
release:
1415
name: Release
15-
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v2
16+
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v3
1617
with:
1718
<%- if @configs['with'] -%>
1819
<%- @configs['with'].each do |k,v| -%>

moduleroot/.pmtignore.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
/.github/
2121
/.librarian/
2222
/Puppetfile.lock
23+
/Puppetfile
2324
*.iml
2425
/.editorconfig
2526
/.fixtures.yml

moduleroot/.puppet-lint.rc.erb

Lines changed: 3 additions & 0 deletions
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
<% checks = @configs['disabled_lint_checks'] - @configs['enabled_lint_checks'] -%>
36
<% checks.each do |check| -%>

moduleroot/Gemfile.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ end
3535
gem 'rake', :require => false
3636
gem 'facter', ENV['FACTER_GEM_VERSION'], :require => false, :groups => [:test]
3737
38-
puppetversion = ENV['PUPPET_GEM_VERSION'] || '<%= @configs['puppet_version'] %>'
38+
puppetversion = ENV['PUPPET_GEM_VERSION'] || <%= @configs['puppet_version'].inspect %>
3939
gem 'puppet', puppetversion, :require => false, :groups => [:test]
4040
4141
# vim: syntax=ruby

moduleroot/spec/spec_helper.rb.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RSpec.configure do |c|
1515
c.hiera_config = <%= @configs['hiera_config'] %>
1616
<%- end -%>
1717
<%- if @configs['mock_with'] -%>
18-
c.mock_with = <%= @configs['mock_with'] %>
18+
c.mock_with <%= @configs['mock_with'] %>
1919
<%- end -%>
2020
end
2121
<%- if @configs['add_mocked_facts'] -%>

0 commit comments

Comments
 (0)