Skip to content

Commit ec8fcc1

Browse files
authored
Merge pull request #1053 from voxpupuli/modulesync
modulesync 9.3.0
2 parents d6423b9 + 986eb5d commit ec8fcc1

File tree

14 files changed

+24
-34
lines changed

14 files changed

+24
-34
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
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:
@@ -18,7 +19,7 @@ concurrency:
1819
jobs:
1920
puppet:
2021
name: Puppet
21-
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v2
22+
uses: voxpupuli/gha-puppet/.github/workflows/beaker.yml@v3
2223
with:
2324
timeout_minutes: 75
2425
unit_runs_on: 'cern-self-hosted'

.github/workflows/labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
name: "Pull Request Labeler"
66

7+
# yamllint disable-line rule:truthy
78
on:
89
pull_request_target: {}
910

.github/workflows/release.yml

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
allowed_owner: 'voxpupuli'
1819
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: '9.1.0'
5+
modulesync_config_version: '9.3.0'

.pmtignore

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

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ end
2626
gem 'rake', :require => false
2727
gem 'facter', ENV['FACTER_GEM_VERSION'], :require => false, :groups => [:test]
2828

29-
puppetversion = ENV['PUPPET_GEM_VERSION'] || '~> 7.24'
29+
puppetversion = ENV['PUPPET_GEM_VERSION'] || [">= 7.24", "< 9"]
3030
gem 'puppet', puppetversion, :require => false, :groups => [:test]
3131

3232
# vim: syntax=ruby

manifests/install.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
}
1313

14-
if $collectd::utils and ( $facts['os']['family'] == 'Debian' or ( $facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'],'8') >= 0 )) {
14+
if $collectd::utils and ( $facts['os']['family'] == 'Debian' or $facts['os']['family'] == 'RedHat' ) {
1515
package { 'collectd-utils':
1616
ensure => $collectd::package_ensure,
1717
}

manifests/plugin/python.pp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
$ensure_real = 'absent'
3232
}
3333

34-
if $facts['os']['name'] == 'Amazon' or
35-
($facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'],'8') >= 0) {
34+
if $facts['os']['name'] == 'Amazon' or ($facts['os']['family'] == 'RedHat') {
3635
if $_manage_package {
3736
package { 'collectd-python':
3837
ensure => $ensure_real,

manifests/plugin/rabbitmq.pp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,7 @@
6161
) {
6262
include collectd
6363

64-
if $facts['os']['family'] == 'Debian' or
65-
$facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'], '8') >= 0 or
66-
$facts['os']['name'] == 'Ubuntu' {
64+
if $facts['os']['family'] == 'Debian' or $facts['os']['family'] == 'RedHat' {
6765
fail('https://pypi.org/project/collectd-rabbitmq/ does not support Python 3')
6866
}
6967

manifests/plugin/write_http.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
if $manage_package !~ Undef {
2020
$_manage_package = $manage_package
2121
} else {
22-
if $facts['os']['family'] == 'RedHat' and versioncmp($facts['os']['release']['major'],'8') >= 0 {
23-
$_manage_package = true
22+
$_manage_package = if $facts['os']['family'] == 'RedHat' {
23+
true
2424
} else {
25-
$_manage_package = false
25+
false
2626
}
2727
}
2828
if $_manage_package {

0 commit comments

Comments
 (0)